]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/drop_bounds.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / drop_bounds.stderr
index cc87913ecb1a316698bcec945e1089540b39e8b0..5d360ef30a1d89048c017a061e64167a2acbd9a5 100644 (file)
@@ -4,7 +4,7 @@ error: Bounds of the form `T: Drop` are useless. Use `std::mem::needs_drop` to d
 LL | fn foo<T: Drop>() {}
    |           ^^^^
    |
-   = note: #[deny(clippy::drop_bounds)] on by default
+   = note: `#[deny(clippy::drop_bounds)]` on by default
 
 error: Bounds of the form `T: Drop` are useless. Use `std::mem::needs_drop` to detect if a type has drop glue.
   --> $DIR/drop_bounds.rs:5:8