Skip to content

Commit

Permalink
Auto merge of #113099 - bvanjoi:fix-112713-2, r=petrochenkov
Browse files Browse the repository at this point in the history
fix(resolve): update the ambiguity glob binding as warning recursively

Fixes #47525
Fixes #56593, but `issue-56593-2.rs` is not fixed to ensure backward compatibility.
Fixes #98467
Fixes #105235
Fixes #112713

This PR had added a field called `warn_ambiguous` in `NameBinding` which is only for back compatibly reason and used for lint.

More details: rust-lang/rust#112743

r? `@petrochenkov`
  • Loading branch information
bors committed Jul 29, 2023
2 parents 3f14c47 + ec0de5b commit b63c4ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ pub mod primitive;
missing_debug_implementations,
dead_code,
unused_imports,
unsafe_op_in_unsafe_fn
unsafe_op_in_unsafe_fn,
ambiguous_glob_reexports
)]
#[allow(rustdoc::bare_urls)]
// FIXME: This annotation should be moved into rust-lang/stdarch after clashing_extern_declarations is
Expand Down

0 comments on commit b63c4ab

Please sign in to comment.