]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-22692.stderr
Improve some compiletest documentation
[rust.git] / src / test / ui / resolve / issue-22692.stderr
1 error[E0423]: expected value, found struct `String`
2   --> $DIR/issue-22692.rs:2:13
3    |
4 LL |     let _ = String.new();
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`.