10 let u = U { principle: 0 };
11 //~^ ERROR union `U` has no field named `principle`
12 //~| HELP a field with a similar name exists
13 //~| SUGGESTION principal
14 let w = u.principial; //~ ERROR no field `principial` on type `U`
15 //~| HELP a field with a similar name exists
16 //~| SUGGESTION principal
18 let y = u.calculate; //~ ERROR attempted to take value of method `calculate` on type `U`
19 //~| HELP use parentheses to call the method
20 //~| SUGGESTION calculate()