]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/manual_assert.edition2018.fixed
Use Span::from_expansion instead of in_macro
[rust.git] / tests / ui / manual_assert.edition2018.fixed
index 11fe06c572471cb9f95e5dad3915ceb10d638601..6c2a25c37d8d73f6a1bd5960dbe8a8db954c91f7 100644 (file)
@@ -2,7 +2,9 @@
 // [edition2018] edition:2018
 // [edition2021] edition:2021
 // run-rustfix
+
 #![warn(clippy::manual_assert)]
+#![allow(clippy::nonminimal_bool)]
 
 fn main() {
     let a = vec![1, 2, 3];