]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/suggest-path-for-tuple-struct.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / suggest-path-for-tuple-struct.stderr
1 error[E0423]: expected value, found struct `SomeTupleStruct`
2   --> $DIR/suggest-path-for-tuple-struct.rs:22:13
3    |
4 LL |     let _ = SomeTupleStruct.new();
5    |             ^^^^^^^^^^^^^^^- help: use the path separator to refer to an item: `::`
6
7 error[E0423]: expected value, found struct `SomeRegularStruct`
8   --> $DIR/suggest-path-for-tuple-struct.rs:24:13
9    |
10 LL |     let _ = SomeRegularStruct.new();
11    |             ^^^^^^^^^^^^^^^^^- help: use the path separator to refer to an item: `::`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0423`.