error[E0423]: expected value, found struct `String` --> $DIR/issue-22692.rs:2:13 | LL | let _ = String.new(); | ^^^^^^---- | | | help: use the path separator to refer to an item: `String::new` error: aborting due to previous error For more information about this error, try `rustc --explain E0423`.