Preserve ambiguous glob lint for subtrait method picks - #157968
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
The fix does not look unreasonable. Maybe someone familiar with the code can easily determine if this is the right fix. The changed code was added in #149058, so I'd like to CC PR author @LorrensP-2158466 and PR reviewer @petrochenkov. |
62c5646 to
d44d827
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
There was a problem hiding this comment.
Thanks! I did apply some small changes myself:
- rebased past #152225
- dropped
#![allow(dead_code, unused_imports)]from the test sincecompiletestimplicitly adds-Aunused - dropped
//@ check-failfrom the test since it's the default mode - dropped
//@ normalize-stderr: "error: aborting due to 1 previous error\n\n" -> "error: aborting due to 1 previous error\n"from the test since there's no need whatsoever to normalize away the extra newline - added
// issue: <https://github.com/rust-lang/rust/issues/157965>to the test
@bors r+ rollup
…iguous-glob-subtrait, r=fmease Preserve ambiguous glob lint for subtrait method picks Fixes rust-lang#157965
…iguous-glob-subtrait, r=fmease Preserve ambiguous glob lint for subtrait method picks Fixes rust-lang#157965
Rollup of 7 pull requests Successful merges: - #160941 (Enforce safety comments on `alloc`) - #161975 (Abort instead of unwinding out of an inconsistent BTreeMap::split_off) - #157968 (Preserve ambiguous glob lint for subtrait method picks) - #161514 (rework handling of doc attributes on macro calls) - #161944 (rustdoc: Take into account edition information for keyword highlighting) - #161974 (remove rustc_never_type_options attr remnants) - #161978 (Move rustdoc ui doctests into the right testsuite) Failed merges: - #161702 (Use `drop_guard` in some places in {core,alloc,std})
|
@lcnr I'm not sure I understand why you've tagged this with
relnotes
|
Fixes #157965