]>
Commit | Line | Data |
---|---|---|
48663c56 XL |
1 | warning: the feature `impl_trait_in_bindings` is incomplete and may cause the compiler to crash |
2 | --> $DIR/bindings-opaque.rs:1:12 | |
3 | | | |
4 | LL | #![feature(impl_trait_in_bindings)] | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^ | |
416331ca XL |
6 | | |
7 | = note: `#[warn(incomplete_features)]` on by default | |
48663c56 | 8 | |
dfeec247 | 9 | error[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 | | |
12 | LL | let _ = FOO.count_ones(); | |
e1599b0c | 13 | | ^^^^^^^^^^ method not found in `impl std::marker::Copy` |
0bf4aa26 | 14 | |
dfeec247 | 15 | error[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 | | |
18 | LL | let _ = BAR.count_ones(); | |
e1599b0c | 19 | | ^^^^^^^^^^ method not found in `impl std::marker::Copy` |
0bf4aa26 | 20 | |
dfeec247 | 21 | error[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 | | |
24 | LL | let _ = foo.count_ones(); | |
e1599b0c | 25 | | ^^^^^^^^^^ method not found in `impl std::marker::Copy` |
0bf4aa26 | 26 | |
ba9703b0 | 27 | error: aborting due to 3 previous errors; 1 warning emitted |
0bf4aa26 XL |
28 | |
29 | For more information about this error, try `rustc --explain E0599`. |