fork/rust

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

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

master
512 B11 linesraw
1error: to use a constant of type `NoDerive` in a pattern, `NoDerive` must be annotated with `#[derive(PartialEq, Eq)]`
2  --> $DIR/cant-hide-behind-direct-struct-embedded.rs:22:9
3   |
4LL |         WRAP_DIRECT_INLINE => { panic!("WRAP_DIRECT_INLINE matched itself"); }
5   |         ^^^^^^^^^^^^^^^^^^
6   |
7   = note: the traits must be derived, manual `impl`s are not sufficient
8   = note: see https://doc.rust-lang.org/stable/std/marker/trait.StructuralEq.html for details
9
10error: aborting due to previous error
11