]> git.proxmox.com Git - rustc.git/blame - src/test/ui/derive-uninhabited-enum-38885.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / derive-uninhabited-enum-38885.stderr
CommitLineData
e1599b0c
XL
1warning: variant is never constructed: `Void`
2 --> $DIR/derive-uninhabited-enum-38885.rs:13:5
a1dfa0c6 3 |
e1599b0c
XL
4LL | Void(Void),
5 | ^^^^^^^^^^
a1dfa0c6
XL
6 |
7 = note: `-W dead-code` implied by `-W unused`
5099ac24
FG
8note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
9 --> $DIR/derive-uninhabited-enum-38885.rs:10:10
10 |
11LL | #[derive(Debug)]
12 | ^^^^^
13 = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
a1dfa0c6 14
ba9703b0
XL
15warning: 1 warning emitted
16