1 error: `const` items in this context need a name
2 --> $DIR/assoc-const-underscore-semantic-fail.rs:7:15
5 | ^ `_` is not a valid name for this `const` item
7 error: `const` items in this context need a name
8 --> $DIR/assoc-const-underscore-semantic-fail.rs:10:15
10 LL | const _: () = ();
11 | ^ `_` is not a valid name for this `const` item
13 error: `const` items in this context need a name
14 --> $DIR/assoc-const-underscore-semantic-fail.rs:15:15
16 LL | const _: () = ();
17 | ^ `_` is not a valid name for this `const` item
19 error[E0438]: const `_` is not a member of trait `A`
20 --> $DIR/assoc-const-underscore-semantic-fail.rs:10:9
22 LL | const _: () = ();
23 | ^^^^^^^^^^^^^^^^^ not a member of trait `A`
25 error: aborting due to 4 previous errors
27 For more information about this error, try `rustc --explain E0438`.