]>
Commit | Line | Data |
---|---|---|
f2b60f7d FG |
1 | // When build the suggesttion take in consideration the `:?` |
2 | // https://github.com/rust-lang/rust/issues/100648 | |
3 | #![deny(warnings)] | |
4 | ||
5 | fn main () { | |
6 | println!("hello {:?}", world = "world"); | |
7 | //~^ ERROR named argument `world` is not used by name | |
8 | //~| HELP use the named argument by name to avoid ambiguity | |
9 | //~| SUGGESTION world | |
10 | } |