1 struct S(u8, (u8, u8));
3 macro_rules! generate_field_accesses {
4 ($a:tt, $b:literal, $c:expr) => {
8 { s.$b; } //~ ERROR unexpected token: `1.1`
9 //~| ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `1.1`
10 { s.$c; } //~ ERROR unexpected token: `1.1`
11 //~| ERROR expected one of `.`, `;`, `?`, `}`, or an operator, found `1.1`
16 generate_field_accesses!(1.1, 1.1, 1.1);