]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/bindings-opaque.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / impl-trait / bindings-opaque.stderr
1 error[E0599]: no method named `count_ones` found for type `impl std::marker::Copy` in the current scope
2   --> $DIR/bindings-opaque.rs:10:17
3    |
4 LL |     let _ = FOO.count_ones();
5    |                 ^^^^^^^^^^
6
7 error[E0599]: no method named `count_ones` found for type `impl std::marker::Copy` in the current scope
8   --> $DIR/bindings-opaque.rs:12:17
9    |
10 LL |     let _ = BAR.count_ones();
11    |                 ^^^^^^^^^^
12
13 error[E0599]: no method named `count_ones` found for type `impl std::marker::Copy` in the current scope
14   --> $DIR/bindings-opaque.rs:14:17
15    |
16 LL |     let _ = foo.count_ones();
17    |                 ^^^^^^^^^^
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0599`.