5 println!("Hello {f:.1}!", f = 0.02f32);
6 //~^ WARNING named argument `f` is not used by name [named_arguments_used_positionally]
7 //~| HELP use the named argument by name to avoid ambiguity
9 println!("Hello {f:1.1}!", f = 0.02f32);
10 //~^ WARNING named argument `f` is not used by name [named_arguments_used_positionally]
11 //~| HELP use the named argument by name to avoid ambiguity
13 println!("Hello {f}!", f = 0.02f32);
14 //~^ WARNING named argument `f` is not used by name [named_arguments_used_positionally]
15 //~| HELP use the named argument by name to avoid ambiguity
17 println!("Hello {f}!", f = 0.02f32);
18 //~^ WARNING named argument `f` is not used by name [named_arguments_used_positionally]
19 //~| HELP use the named argument by name to avoid ambiguity
21 println!("Hello {f}!", f = 0.02f32);
22 //~^ WARNING named argument `f` is not used by name [named_arguments_used_positionally]
23 //~| HELP use the named argument by name to avoid ambiguity