]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/issue-22692.stderr
New upstream version 1.32.0~beta.2+dfsg1
[rustc.git] / src / test / ui / resolve / issue-22692.stderr
1 error[E0423]: expected value, found struct `String`
2 --> $DIR/issue-22692.rs:12:13
3 |
4 LL | let _ = String.new(); //~ ERROR expected value, found struct `String`
5 | ^^^^^^----
6 | |
7 | help: use `::` to access an associated function: `String::new`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0423`.