Filed a proper tracking issue.

This commit is contained in:
kennytm 2018-03-11 01:58:57 +08:00
parent 28b2bba585
commit db4f3f93bc
No known key found for this signature in database
GPG Key ID: FEF6C8051D0E013C
2 changed files with 2 additions and 3 deletions

View File

@ -276,9 +276,8 @@ pub fn register_builtins(store: &mut lint::LintStore, sess: Option<&Session>) {
},
FutureIncompatibleInfo {
id: LintId::of(UNSTABLE_NAME_COLLISION),
reference: "pr #48552 <https://github.com/rust-lang/rust/pull/48552>",
reference: "issue #48919 <https://github.com/rust-lang/rust/issues/48919>",
edition: None,
// FIXME: create a proper tracking issue.
// Note: this item represents future incompatibility of all unstable functions in the
// standard library, and thus should never be removed or changed to an error.
},

View File

@ -6,7 +6,7 @@ LL | assert_eq!('x'.ipu_flatten(), 1);
|
= note: #[warn(unstable_name_collision)] on by default
= warning: once this method is added to the standard library, there will be ambiguity here, which will cause a hard error!
= note: for more information, see pr #48552 <https://github.com/rust-lang/rust/pull/48552>
= 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
= note: add #![feature(ipu_flatten)] to the crate attributes to enable `inference_unstable_iterator::IpuIterator::ipu_flatten`