fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
1017 B20 linesraw
1error[E0034]: multiple applicable items in scope
2  --> $DIR/inference_unstable_featured.rs:16:20
3   |
4LL |     assert_eq!('x'.ipu_flatten(), 0);
5   |                    ^^^^^^^^^^^ multiple `ipu_flatten` found
6   |
7   = note: candidate #1 is defined in an impl of the trait `inference_unstable_iterator::IpuIterator` for the type `char`
8   = note: candidate #2 is defined in an impl of the trait `inference_unstable_itertools::IpuItertools` for the type `char`
9help: disambiguate the method call for candidate #1
10   |
11LL |     assert_eq!(inference_unstable_iterator::IpuIterator::ipu_flatten(&'x'), 0);
12   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13help: disambiguate the method call for candidate #2
14   |
15LL |     assert_eq!(inference_unstable_itertools::IpuItertools::ipu_flatten(&'x'), 0);
16   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0034`.