fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
413 B12 linesraw
1error: enum with no variants
2  --> $DIR/empty_enum.rs:5:1
3   |
4LL | enum Empty {}
5   | ^^^^^^^^^^^^^
6   |
7   = help: consider using the uninhabited type `!` (never type) or a wrapper around it to introduce a type which can't be instantiated
8   = note: `-D clippy::empty-enum` implied by `-D warnings`
9   = help: to override `-D warnings` add `#[allow(clippy::empty_enum)]`
10
11error: aborting due to previous error
12