1 error: expressions must be enclosed in braces to be used as const generic arguments
2 --> $DIR/macro_rules-braces.rs:54:17
4 LL | let _: baz!(10 + 7);
7 help: enclose the `const` expression in braces
9 LL | let _: baz!({ 10 + 7 });
12 error: generic parameters may not be used in const operations
13 --> $DIR/macro_rules-braces.rs:31:20
15 LL | let _: foo!({{ N }});
16 | ^ cannot perform const operation using `N`
18 = help: const parameters may only be used as standalone arguments, i.e. `N`
20 error: generic parameters may not be used in const operations
21 --> $DIR/macro_rules-braces.rs:33:19
23 LL | let _: bar!({ N });
24 | ^ cannot perform const operation using `N`
26 = help: const parameters may only be used as standalone arguments, i.e. `N`
28 error: generic parameters may not be used in const operations
29 --> $DIR/macro_rules-braces.rs:36:20
31 LL | let _: baz!({{ N }});
32 | ^ cannot perform const operation using `N`
34 = help: const parameters may only be used as standalone arguments, i.e. `N`
36 error: generic parameters may not be used in const operations
37 --> $DIR/macro_rules-braces.rs:38:19
39 LL | let _: biz!({ N });
40 | ^ cannot perform const operation using `N`
42 = help: const parameters may only be used as standalone arguments, i.e. `N`
44 error: aborting due to 5 previous errors