fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
608 B15 linesraw
1error[E0423]: expected value, found struct `SomeTupleStruct`
2  --> $DIR/suggest-path-for-tuple-struct.rs:22:13
3   |
4LL |     let _ = SomeTupleStruct.new();
5   |             ^^^^^^^^^^^^^^^- help: use the path separator to refer to an item: `::`
6
7error[E0423]: expected value, found struct `SomeRegularStruct`
8  --> $DIR/suggest-path-for-tuple-struct.rs:24:13
9   |
10LL |     let _ = SomeRegularStruct.new();
11   |             ^^^^^^^^^^^^^^^^^- help: use the path separator to refer to an item: `::`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0423`.