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

warning: a method with this name may be added to the standard library in the future
  --> $DIR/inference_unstable.rs:19:20
   |
LL |     assert_eq!('x'.ipu_by_value_vs_by_ref(), 1);
   |                    ^^^^^^^^^^^^^^^^^^^^^^
   |
   = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
   = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
   = help: call with fully qualified syntax `inference_unstable_itertools::IpuItertools::ipu_by_value_vs_by_ref(...)` to keep using the current method
   = help: add `#![feature(ipu_flatten)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_by_value_vs_by_ref`

warning: a method with this name may be added to the standard library in the future
  --> $DIR/inference_unstable.rs:22:20
   |
LL |     assert_eq!('x'.ipu_by_ref_vs_by_ref_mut(), 1);
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
   = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
   = help: call with fully qualified syntax `inference_unstable_itertools::IpuItertools::ipu_by_ref_vs_by_ref_mut(...)` to keep using the current method
   = help: add `#![feature(ipu_flatten)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_by_ref_vs_by_ref_mut`

warning: a method with this name may be added to the standard library in the future
  --> $DIR/inference_unstable.rs:25:40
   |
LL |     assert_eq!((&mut 'x' as *mut char).ipu_by_mut_ptr_vs_by_const_ptr(), 1);
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
   = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
   = help: call with fully qualified syntax `inference_unstable_itertools::IpuItertools::ipu_by_mut_ptr_vs_by_const_ptr(...)` to keep using the current method
   = help: add `#![feature(ipu_flatten)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_by_mut_ptr_vs_by_const_ptr`

warning: an associated constant with this name may be added to the standard library in the future
  --> $DIR/inference_unstable.rs:28:16
   |
LL |     assert_eq!(char::C, 1);
   |                ^^^^^^^ help: use the fully qualified path to the associated const: `<char as IpuItertools>::C`
   |
   = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
   = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
   = help: add `#![feature(assoc_const_ipu_iter)]` to the crate attributes to enable `inference_unstable_iterator::IpuIterator::C`

warning: 5 warnings emitted