1 error: expressions must be enclosed in braces to be used as const generic arguments
2 --> $DIR/macro_rules-braces.rs:48:17
4 LL | let _: baz!(m::P);
7 help: enclose the `const` expression in braces
9 LL | let _: baz!({ m::P });
12 error: expressions must be enclosed in braces to be used as const generic arguments
13 --> $DIR/macro_rules-braces.rs:68:17
15 LL | let _: baz!(10 + 7);
18 help: enclose the `const` expression in braces
20 LL | let _: baz!({ 10 + 7 });
23 error: constant expression depends on a generic parameter
24 --> $DIR/macro_rules-braces.rs:15:13
29 LL | let _: foo!({{ N }});
30 | ------------- in this macro invocation
32 = note: this may fail depending on what value the parameter takes
33 = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
35 error: constant expression depends on a generic parameter
36 --> $DIR/macro_rules-braces.rs:20:13
41 LL | let _: bar!({ N });
42 | ----------- in this macro invocation
44 = note: this may fail depending on what value the parameter takes
45 = note: this error originates in the macro `bar` (in Nightly builds, run with -Z macro-backtrace for more info)
47 error: constant expression depends on a generic parameter
48 --> $DIR/macro_rules-braces.rs:25:13
53 LL | let _: baz!({{ N }});
54 | ------------- in this macro invocation
56 = note: this may fail depending on what value the parameter takes
57 = note: this error originates in the macro `baz` (in Nightly builds, run with -Z macro-backtrace for more info)
59 error: constant expression depends on a generic parameter
60 --> $DIR/macro_rules-braces.rs:30:13
65 LL | let _: biz!({ N });
66 | ----------- in this macro invocation
68 = note: this may fail depending on what value the parameter takes
69 = note: this error originates in the macro `biz` (in Nightly builds, run with -Z macro-backtrace for more info)
71 error: aborting due to 6 previous errors