@@ -160,7 +160,6 @@ mod asm_syntax;
160
160
mod assertions_on_constants;
161
161
mod assign_ops;
162
162
mod async_yields_async;
163
- mod atomic_ordering;
164
163
mod attrs;
165
164
mod await_holding_invalid;
166
165
mod bit_mask;
@@ -496,6 +495,10 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
496
495
"clippy::panic_params" ,
497
496
"this lint has been uplifted to rustc and is now called `panic_fmt`" ,
498
497
) ;
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
+ ) ;
499
502
// end deprecated lints, do not remove this comment, it’s used in `update_lints`
500
503
501
504
// 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:
528
531
& assign_ops:: ASSIGN_OP_PATTERN ,
529
532
& assign_ops:: MISREFACTORED_ASSIGN_OP ,
530
533
& async_yields_async:: ASYNC_YIELDS_ASYNC ,
531
- & atomic_ordering:: INVALID_ATOMIC_ORDERING ,
532
534
& attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ,
533
535
& attrs:: DEPRECATED_CFG_ATTR ,
534
536
& attrs:: DEPRECATED_SEMVER ,
@@ -1156,7 +1158,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1156
1158
store. register_late_pass ( || box floating_point_arithmetic:: FloatingPointArithmetic ) ;
1157
1159
store. register_early_pass ( || box as_conversions:: AsConversions ) ;
1158
1160
store. register_late_pass ( || box let_underscore:: LetUnderscore ) ;
1159
- store. register_late_pass ( || box atomic_ordering:: AtomicOrdering ) ;
1160
1161
store. register_early_pass ( || box single_component_path_imports:: SingleComponentPathImports ) ;
1161
1162
let max_fn_params_bools = conf. max_fn_params_bools ;
1162
1163
let max_struct_bools = conf. max_struct_bools ;
@@ -1351,7 +1352,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1351
1352
LintId :: of( & assign_ops:: ASSIGN_OP_PATTERN ) ,
1352
1353
LintId :: of( & assign_ops:: MISREFACTORED_ASSIGN_OP ) ,
1353
1354
LintId :: of( & async_yields_async:: ASYNC_YIELDS_ASYNC ) ,
1354
- LintId :: of( & atomic_ordering:: INVALID_ATOMIC_ORDERING ) ,
1355
1355
LintId :: of( & attrs:: BLANKET_CLIPPY_RESTRICTION_LINTS ) ,
1356
1356
LintId :: of( & attrs:: DEPRECATED_CFG_ATTR ) ,
1357
1357
LintId :: of( & attrs:: DEPRECATED_SEMVER ) ,
@@ -1823,7 +1823,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
1823
1823
store. register_group ( true , "clippy::correctness" , Some ( "clippy_correctness" ) , vec ! [
1824
1824
LintId :: of( & approx_const:: APPROX_CONSTANT ) ,
1825
1825
LintId :: of( & async_yields_async:: ASYNC_YIELDS_ASYNC ) ,
1826
- LintId :: of( & atomic_ordering:: INVALID_ATOMIC_ORDERING ) ,
1827
1826
LintId :: of( & attrs:: DEPRECATED_SEMVER ) ,
1828
1827
LintId :: of( & attrs:: MISMATCHED_TARGET_OS ) ,
1829
1828
LintId :: of( & attrs:: USELESS_ATTRIBUTE ) ,
0 commit comments