]> git.proxmox.com Git - rustc.git/blob - src/test/ui/impl-trait/bindings-opaque.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / impl-trait / bindings-opaque.stderr
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
3 |
4 LL | #![feature(impl_trait_in_bindings)]
5 | ^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information
9
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
12 |
13 LL | let _ = FOO.count_ones();
14 | ^^^^^^^^^^ method not found in `impl Copy`
15
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
18 |
19 LL | let _ = BAR.count_ones();
20 | ^^^^^^^^^^ method not found in `impl Copy`
21
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
24 |
25 LL | let _ = foo.count_ones();
26 | ^^^^^^^^^^ method not found in `impl Copy`
27
28 error: aborting due to 3 previous errors; 1 warning emitted
29
30 For more information about this error, try `rustc --explain E0599`.