• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #[cfg(target(os = "x"))] //~ ERROR compact `cfg(target(..))` is experimental
2 struct Foo(u64, u64);
3 
4 #[cfg_attr(target(os = "x"), x)] //~ ERROR compact `cfg(target(..))` is experimental
5 struct Bar(u64, u64);
6 
7 #[cfg(not(any(all(target(os = "x")))))] //~ ERROR compact `cfg(target(..))` is experimental
foo()8 fn foo() {}
9 
main()10 fn main() {
11     cfg!(target(os = "x"));
12     //~^ ERROR compact `cfg(target(..))` is experimental and subject to change
13 }
14