]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/derive-uninhabited-enum-38885.stderr
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / derive-uninhabited-enum-38885.stderr
index 72607629d3c10dc6ee43ffecafe9b52ff9669b05..2a44e56a3302c87054e9f145b4cc9e9d49521df2 100644 (file)
@@ -5,6 +5,12 @@ LL |     Void(Void),
    |     ^^^^^^^^^^
    |
    = note: `-W dead-code` implied by `-W unused`
+note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
+  --> $DIR/derive-uninhabited-enum-38885.rs:10:10
+   |
+LL | #[derive(Debug)]
+   |          ^^^^^
+   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 warning: 1 warning emitted