Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
#![deny(dead_code)]
#[derive(Clone)]
enum Enum {
Variant1, //~ ERROR: variant is never constructed
Variant2,
}
fn main() {
let e = Enum::Variant2;
e.clone();