]> git.lizzy.rs Git - rust.git/blob - tests/ui/inference/inference_unstable_featured.stderr
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / inference / inference_unstable_featured.stderr
1 error[E0034]: multiple applicable items in scope
2   --> $DIR/inference_unstable_featured.rs:16:20
3    |
4 LL |     assert_eq!('x'.ipu_flatten(), 0);
5    |                    ^^^^^^^^^^^ multiple `ipu_flatten` found
6    |
7    = note: candidate #1 is defined in an impl of the trait `IpuIterator` for the type `char`
8    = note: candidate #2 is defined in an impl of the trait `IpuItertools` for the type `char`
9 help: disambiguate the associated function for candidate #1
10    |
11 LL |     assert_eq!(IpuIterator::ipu_flatten(&'x'), 0);
12    |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13 help: disambiguate the associated function for candidate #2
14    |
15 LL |     assert_eq!(IpuItertools::ipu_flatten(&'x'), 0);
16    |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17
18 error: aborting due to previous error
19
20 For more information about this error, try `rustc --explain E0034`.