@@ -160,7 +160,6 @@ mod asm_syntax;
160160mod assertions_on_constants;
161161mod assign_ops;
162162mod async_yields_async;
163- mod atomic_ordering;
164163mod attrs;
165164mod await_holding_invalid;
166165mod bit_mask;
@@ -496,6 +495,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
496495 "clippy::panic_params" ,
497496 "this lint has been uplifted to rustc and is now called `panic_fmt`" ,
498497 ) ;
498+ store. register_removed (
499+ "clippy::invalid_atomic_ordering" ,
500+ "this lint has been uplifted to rustc and is now called `invalid_atomic_ordering`" ,
501+ ) ;
499502 // end deprecated lints, do not remove this comment, it’s used in `update_lints`
500503
501504 // begin register lints, do not remove this comment, it’s used in `update_lints`
@@ -528,7 +531,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
528531 & assign_ops:: ASSIGN_OP_PATTERN ,
529532 & assign_ops:: MISREFACTORED_ASSIGN_OP ,
530533 & async_yields_async:: ASYNC_YIELDS_ASYNC ,
531- & atomic_ordering:: INVALID_ATOMIC_ORDERING ,
532534 & attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ,
533535 & attrs:: DEPRECATED_CFG_ATTR ,
534536 & attrs:: DEPRECATED_SEMVER ,
@@ -1156,7 +1158,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
11561158 store. register_late_pass ( || box floating_point_arithmetic:: FloatingPointArithmetic ) ;
11571159 store. register_early_pass ( || box as_conversions:: AsConversions ) ;
11581160 store. register_late_pass ( || box let_underscore:: LetUnderscore ) ;
1159- store. register_late_pass ( || box atomic_ordering:: AtomicOrdering ) ;
11601161 store. register_early_pass ( || box single_component_path_imports:: SingleComponentPathImports ) ;
11611162 let max_fn_params_bools = conf. max_fn_params_bools ;
11621163 let max_struct_bools = conf. max_struct_bools ;
@@ -1351,7 +1352,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
13511352 LintId :: of( & assign_ops:: ASSIGN_OP_PATTERN ) ,
13521353 LintId :: of( & assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
13531354 LintId :: of( & async_yields_async:: ASYNC_YIELDS_ASYNC ) ,
1354- LintId :: of( & atomic_ordering:: INVALID_ATOMIC_ORDERING ) ,
13551355 LintId :: of( & attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ) ,
13561356 LintId :: of( & attrs:: DEPRECATED_CFG_ATTR ) ,
13571357 LintId :: of( & attrs:: DEPRECATED_SEMVER ) ,
@@ -1823,7 +1823,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
18231823 store. register_group ( true , "clippy::correctness" , Some ( "clippy_correctness" ) , vec ! [
18241824 LintId :: of( & approx_const:: APPROX_CONSTANT ) ,
18251825 LintId :: of( & async_yields_async:: ASYNC_YIELDS_ASYNC ) ,
1826- LintId :: of( & atomic_ordering:: INVALID_ATOMIC_ORDERING ) ,
18271826 LintId :: of( & attrs:: DEPRECATED_SEMVER ) ,
18281827 LintId :: of( & attrs:: MISMATCHED_TARGET_OS ) ,
18291828 LintId :: of( & attrs:: USELESS_ATTRIBUTE ) ,
0 commit comments