1 #![feature(impl_trait_in_bindings)]
2 //~^ WARN the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash
4 const FOO: impl Copy = 42;
6 static BAR: impl Copy = 42;
9 let foo: impl Copy = 42;
11 let _ = FOO.count_ones();
13 let _ = BAR.count_ones();
15 let _ = foo.count_ones();