summary refs log tree commit diff
path: root/src/test/ui/impl-trait/bindings-opaque.stderr
blob: 6656968d79ae032aa94a1178b4eb2910be0fdd35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
warning: the feature `impl_trait_in_bindings` is incomplete and may not be safe to use and/or cause compiler crashes
  --> $DIR/bindings-opaque.rs:1:12
   |
LL | #![feature(impl_trait_in_bindings)]
   |            ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(incomplete_features)]` on by default
   = note: see issue #63065 <https://github.com/rust-lang/rust/issues/63065> for more information

error[E0599]: no method named `count_ones` found for opaque type `impl std::marker::Copy` in the current scope
  --> $DIR/bindings-opaque.rs:11:17
   |
LL |     let _ = FOO.count_ones();
   |                 ^^^^^^^^^^ method not found in `impl std::marker::Copy`

error[E0599]: no method named `count_ones` found for opaque type `impl std::marker::Copy` in the current scope
  --> $DIR/bindings-opaque.rs:13:17
   |
LL |     let _ = BAR.count_ones();
   |                 ^^^^^^^^^^ method not found in `impl std::marker::Copy`

error[E0599]: no method named `count_ones` found for opaque type `impl std::marker::Copy` in the current scope
  --> $DIR/bindings-opaque.rs:15:17
   |
LL |     let _ = foo.count_ones();
   |                 ^^^^^^^^^^ method not found in `impl std::marker::Copy`

error: aborting due to 3 previous errors; 1 warning emitted

For more information about this error, try `rustc --explain E0599`.