1 warning: the feature `impl_trait_in_bindings` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/bindings-opaque.rs:1:12
4 LL | #![feature(impl_trait_in_bindings)]
5 | ^^^^^^^^^^^^^^^^^^^^^^
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
10 error[E0599]: no method named `count_ones` found for opaque type `impl Copy` in the current scope
11 --> $DIR/bindings-opaque.rs:11:17
13 LL | let _ = FOO.count_ones();
14 | ^^^^^^^^^^ method not found in `impl Copy`
16 error[E0599]: no method named `count_ones` found for opaque type `impl Copy` in the current scope
17 --> $DIR/bindings-opaque.rs:13:17
19 LL | let _ = BAR.count_ones();
20 | ^^^^^^^^^^ method not found in `impl Copy`
22 error[E0599]: no method named `count_ones` found for opaque type `impl Copy` in the current scope
23 --> $DIR/bindings-opaque.rs:15:17
25 LL | let _ = foo.count_ones();
26 | ^^^^^^^^^^ method not found in `impl Copy`
28 error: aborting due to 3 previous errors; 1 warning emitted
30 For more information about this error, try `rustc --explain E0599`.