]> git.proxmox.com Git - rustc.git/blob - tests/ui/inference/inference_unstable.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / inference / inference_unstable.stderr
1 warning: an associated function with this name may be added to the standard library in the future
2 --> $DIR/inference_unstable.rs:16:20
3 |
4 LL | assert_eq!('x'.ipu_flatten(), 1);
5 | ^^^^^^^^^^^
6 |
7 = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
8 = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
9 = help: call with fully qualified syntax `inference_unstable_itertools::IpuItertools::ipu_flatten(...)` to keep using the current method
10 = help: add `#![feature(ipu_flatten)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_flatten`
11 = note: `#[warn(unstable_name_collisions)]` on by default
12
13 warning: an associated function with this name may be added to the standard library in the future
14 --> $DIR/inference_unstable.rs:19:20
15 |
16 LL | assert_eq!('x'.ipu_by_value_vs_by_ref(), 1);
17 | ^^^^^^^^^^^^^^^^^^^^^^
18 |
19 = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
20 = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
21 = help: call with fully qualified syntax `inference_unstable_itertools::IpuItertools::ipu_by_value_vs_by_ref(...)` to keep using the current method
22 = help: add `#![feature(ipu_flatten)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_by_value_vs_by_ref`
23
24 warning: an associated function with this name may be added to the standard library in the future
25 --> $DIR/inference_unstable.rs:22:20
26 |
27 LL | assert_eq!('x'.ipu_by_ref_vs_by_ref_mut(), 1);
28 | ^^^^^^^^^^^^^^^^^^^^^^^^
29 |
30 = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
31 = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
32 = help: call with fully qualified syntax `inference_unstable_itertools::IpuItertools::ipu_by_ref_vs_by_ref_mut(...)` to keep using the current method
33 = help: add `#![feature(ipu_flatten)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_by_ref_vs_by_ref_mut`
34
35 warning: an associated function with this name may be added to the standard library in the future
36 --> $DIR/inference_unstable.rs:25:40
37 |
38 LL | assert_eq!((&mut 'x' as *mut char).ipu_by_mut_ptr_vs_by_const_ptr(), 1);
39 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40 |
41 = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
42 = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
43 = help: call with fully qualified syntax `inference_unstable_itertools::IpuItertools::ipu_by_mut_ptr_vs_by_const_ptr(...)` to keep using the current method
44 = help: add `#![feature(ipu_flatten)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_by_mut_ptr_vs_by_const_ptr`
45
46 warning: an associated constant with this name may be added to the standard library in the future
47 --> $DIR/inference_unstable.rs:28:16
48 |
49 LL | assert_eq!(char::C, 1);
50 | ^^^^^^^ help: use the fully qualified path to the associated const: `<char as IpuItertools>::C`
51 |
52 = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
53 = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
54 = help: add `#![feature(assoc_const_ipu_iter)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::C`
55
56 warning: 5 warnings emitted
57