fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
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 | ^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: `#[warn(incomplete_features)]` on by default 8 9error[E0599]: no method named `count_ones` found for opaque type `impl std::marker::Copy` in the current scope 10 --> $DIR/bindings-opaque.rs:11:17 11 | 12LL | let _ = FOO.count_ones(); 13 | ^^^^^^^^^^ method not found in `impl std::marker::Copy` 14 15error[E0599]: no method named `count_ones` found for opaque type `impl std::marker::Copy` in the current scope 16 --> $DIR/bindings-opaque.rs:13:17 17 | 18LL | let _ = BAR.count_ones(); 19 | ^^^^^^^^^^ method not found in `impl std::marker::Copy` 20 21error[E0599]: no method named `count_ones` found for opaque type `impl std::marker::Copy` in the current scope 22 --> $DIR/bindings-opaque.rs:15:17 23 | 24LL | let _ = foo.count_ones(); 25 | ^^^^^^^^^^ method not found in `impl std::marker::Copy` 26 27error: aborting due to 3 previous errors; 1 warning emitted 28 29For more information about this error, try `rustc --explain E0599`.