blob: b8725ebdb4c1caf264981ca23ea095300bcd7d65 [file] [edit]
warning: a method with this name may be added to the standard library in the future
--> $DIR/unstable.rs:26:19
|
LL | assert_eq!(().hello(), "A");
| ^^^^^
|
= help: call with fully qualified syntax `shadowed_stability::A::hello(...)` to keep using the current method
= 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>
= note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default
help: add `#![feature(downstream)]` to the crate attributes to enable `shadowed_stability::B::hello`
|
LL + #![feature(downstream)]
|
warning: 1 warning emitted