Skip to content

Commit e36104a

Browse files
committed
Auto merge of #151146 - traviscross:TC/deny-ambiguous_glob_reexports, r=<try>
Make `ambiguous_glob_reexports` an FCW at deny
2 parents 86a49fd + 2c99034 commit e36104a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

compiler/rustc_lint_defs/src/builtin.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3197,8 +3197,12 @@ declare_lint! {
31973197
/// `bar::X` would cause compilation errors in downstream crates because `X` is defined
31983198
/// multiple times in the same namespace of `this_crate`.
31993199
pub AMBIGUOUS_GLOB_REEXPORTS,
3200-
Warn,
3200+
Deny,
32013201
"ambiguous glob re-exports",
3202+
@future_incompatible = FutureIncompatibleInfo {
3203+
reason: fcw!(FutureReleaseError #107880), // TODO.
3204+
report_in_deps: true,
3205+
};
32023206
}
32033207

32043208
declare_lint! {

0 commit comments

Comments
 (0)