]> git.proxmox.com Git - rustc.git/blame - tests/ui/inference/inference_unstable_featured.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / inference / inference_unstable_featured.stderr
CommitLineData
0531ce1d 1error[E0034]: multiple applicable items in scope
0731742a 2 --> $DIR/inference_unstable_featured.rs:16:20
0531ce1d 3 |
532ac7d7 4LL | assert_eq!('x'.ipu_flatten(), 0);
0531ce1d
XL
5 | ^^^^^^^^^^^ multiple `ipu_flatten` found
6 |
1b1a35ee
XL
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`
9ffffee4 9help: disambiguate the method for candidate #1
dfeec247 10 |
1b1a35ee 11LL | assert_eq!(IpuIterator::ipu_flatten(&'x'), 0);
94222f64 12 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9ffffee4 13help: disambiguate the method for candidate #2
dfeec247 14 |
1b1a35ee 15LL | assert_eq!(IpuItertools::ipu_flatten(&'x'), 0);
94222f64 16 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0531ce1d
XL
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0034`.