Skip to content

Commit 07a8765

Browse files
update example
1 parent 72f96d9 commit 07a8765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_lint_defs/src/builtin.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4439,14 +4439,14 @@ declare_lint! {
44394439
}
44404440

44414441
declare_lint! {
4442-
/// The `ambiguous_trait_glob_imports` lint reports uses of traits that are
4442+
/// The `ambiguous_glob_imported_trait` lint reports uses of traits that are
44434443
/// imported ambiguously via glob imports. Previously, this was not enforced
44444444
/// due to a bug in rustc.
44454445
///
44464446
/// ### Example
44474447
///
44484448
/// ```rust,compile_fail
4449-
/// #![deny(ambiguous_trait_glob_imports)]
4449+
/// #![deny(ambiguous_glob_imported_trait)]
44504450
/// mod m1 {
44514451
/// pub trait Trait {
44524452
/// fn method1(&self) {}

0 commit comments

Comments
 (0)