]> git.proxmox.com Git - rustc.git/blame - src/test/ui/impl-trait/bindings-opaque.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / impl-trait / bindings-opaque.stderr
CommitLineData
48663c56
XL
1warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash
2 --> $DIR/bindings-opaque.rs:1:12
3 |
4LL | #![feature(impl_trait_in_bindings)]
5 | ^^^^^^^^^^^^^^^^^^^^^^
416331ca
XL
6 |
7 = note: `#[warn(incomplete_features)]` on by default
48663c56 8
dfeec247 9error[E0599]: no method named `count_ones` found for opaque type `impl std::marker::Copy` in the current scope
48663c56 10 --> $DIR/bindings-opaque.rs:11:17
0bf4aa26
XL
11 |
12LL | let _ = FOO.count_ones();
e1599b0c 13 | ^^^^^^^^^^ method not found in `impl std::marker::Copy`
0bf4aa26 14
dfeec247 15error[E0599]: no method named `count_ones` found for opaque type `impl std::marker::Copy` in the current scope
48663c56 16 --> $DIR/bindings-opaque.rs:13:17
0bf4aa26
XL
17 |
18LL | let _ = BAR.count_ones();
e1599b0c 19 | ^^^^^^^^^^ method not found in `impl std::marker::Copy`
0bf4aa26 20
dfeec247 21error[E0599]: no method named `count_ones` found for opaque type `impl std::marker::Copy` in the current scope
48663c56 22 --> $DIR/bindings-opaque.rs:15:17
0bf4aa26
XL
23 |
24LL | let _ = foo.count_ones();
e1599b0c 25 | ^^^^^^^^^^ method not found in `impl std::marker::Copy`
0bf4aa26 26
ba9703b0 27error: aborting due to 3 previous errors; 1 warning emitted
0bf4aa26
XL
28
29For more information about this error, try `rustc --explain E0599`.