1 error[E0428]: the name `A` is defined multiple times
2 --> $DIR/issue-69396-const-no-type-in-macro.rs:4:13
4 LL | const A = "A".$fn();
8 | previous definition of the value `A` here
14 | |_- in this macro invocation
16 = note: `A` must be defined only once in the value namespace of this module
17 = note: this error originates in the macro `suite` (in Nightly builds, run with -Z macro-backtrace for more info)
19 error: missing type for `const` item
20 --> $DIR/issue-69396-const-no-type-in-macro.rs:4:19
22 LL | const A = "A".$fn();
23 | ^ help: provide a type for the constant: `A: usize`
29 | |_- in this macro invocation
31 = note: this error originates in the macro `suite` (in Nightly builds, run with -Z macro-backtrace for more info)
33 error[E0121]: the type placeholder `_` is not allowed within types on item signatures for constants
34 --> $DIR/issue-69396-const-no-type-in-macro.rs:4:19
36 LL | const A = "A".$fn();
39 | not allowed in type signatures
40 | help: replace with the correct type: `bool`
46 | |_- in this macro invocation
48 = note: this error originates in the macro `suite` (in Nightly builds, run with -Z macro-backtrace for more info)
50 error: aborting due to 3 previous errors
52 Some errors have detailed explanations: E0121, E0428.
53 For more information about an error, try `rustc --explain E0121`.