]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-22692.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[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 the path separator to refer to an item: `String::new`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0423`.