]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/inner-attrs-on-impl.rs
6 #![cfg(cfg_that_surely_doesnt_exist)]
8 fn method(&self) -> bool { false }
12 #![cfg(not(cfg_that_surely_doesnt_exist))]
14 // check that we don't eat attributes too eagerly.
15 #[cfg(cfg_that_surely_doesnt_exist)]
16 fn method(&self) -> bool { false }
18 fn method(&self) -> bool { true }
23 assert
!(Foo
.method());