fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
3.7 KiB57 linesraw
1warning: a method with this name may be added to the standard library in the future
2  --> $DIR/inference_unstable.rs:16:20
3   |
4LL |     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
13warning: a method with this name may be added to the standard library in the future
14  --> $DIR/inference_unstable.rs:19:20
15   |
16LL |     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
24warning: a method with this name may be added to the standard library in the future
25  --> $DIR/inference_unstable.rs:22:20
26   |
27LL |     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
35warning: a method with this name may be added to the standard library in the future
36  --> $DIR/inference_unstable.rs:25:40
37   |
38LL |     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
46warning: an associated constant with this name may be added to the standard library in the future
47  --> $DIR/inference_unstable.rs:28:16
48   |
49LL |     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
56warning: 5 warnings emitted
57