]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/drop_non_drop.stderr
[`excessive_bools`] lint trait functions even without bodies
[rust.git] / tests / ui / drop_non_drop.stderr
index 30121033de7eae113ff2025830aae75fa0c24d10..b86057c0c321fd81c4bd3b690cac532dfed82154 100644 (file)
@@ -4,12 +4,12 @@ error: call to `std::mem::drop` with a value that does not implement `Drop`. Dro
 LL |     drop(Foo);
    |     ^^^^^^^^^
    |
-   = note: `-D clippy::drop-non-drop` implied by `-D warnings`
 note: argument has type `main::Foo`
   --> $DIR/drop_non_drop.rs:22:10
    |
 LL |     drop(Foo);
    |          ^^^
+   = note: `-D clippy::drop-non-drop` implied by `-D warnings`
 
 error: call to `std::mem::drop` with a value that does not implement `Drop`. Dropping such a type only extends its contained lifetimes
   --> $DIR/drop_non_drop.rs:37:5