about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-29 06:04:41 +0000
committerbors <bors@rust-lang.org>2023-07-29 06:04:41 +0000
commit2dc661037d059bff1487b76ca949ced7b3cd46c9 (patch)
treef5666979d20c236dfa502383e8a2cff8fde8bc2e /library/core/src
parent5ed61a4378700aeb5af88385d9ae054c8adf2322 (diff)
parent771c832338d57390018d41458a3223bc18eacedc (diff)
downloadrust-2dc661037d059bff1487b76ca949ced7b3cd46c9.tar.gz
rust-2dc661037d059bff1487b76ca949ced7b3cd46c9.zip
Auto merge of #113099 - bvanjoi:fix-112713-2, r=petrochenkov
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: https://github.com/rust-lang/rust/pull/112743

r? `@petrochenkov`
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs
index 741de3221ee..37216d6a721 100644
--- a/library/core/src/lib.rs
+++ b/library/core/src/lib.rs
@@ -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