File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
compiler/rustc_lint_defs/src Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -3275,9 +3275,10 @@ declare_lint! {
3275
3275
/// ### Explanation
3276
3276
///
3277
3277
/// In Rust 2021, one of the important introductions is the [prelude changes], which add
3278
- /// `TryFrom` and `TryInto` into the standard library's prelude. Since this results in an
3279
- /// amiguity as to which method to call when an existing `try_from` or `try_into` method is
3280
- /// called via dot-call syntax.
3278
+ /// `TryFrom`, `TryInto`, and `FromIterator` into the standard library's prelude. Since this
3279
+ /// results in an amiguity as to which method/function to call when an existing `try_into`
3280
+ /// method is called via dot-call syntax or a `try_from`/`from_iter` associated function
3281
+ /// is called directly on a type.
3281
3282
///
3282
3283
/// [prelude changes]: https://blog.rust-lang.org/inside-rust/2021/03/04/planning-rust-2021.html#prelude-changes
3283
3284
pub FUTURE_PRELUDE_COLLISION ,
You can’t perform that action at this time.
0 commit comments