91f3603299
Only point at the end of the crate. We could try making it point at the beginning of the crate, but that is confused with `DUMMY_SP`, causing the output to be *worse*. This change will make it so that VSCode will *not* underline the whole file when `main` is missing, so other errors will be visible.
9 lines
280 B
Text
9 lines
280 B
Text
error[E0601]: `main` function not found in crate `elided_test`
|
|
--> $DIR/elided-test.rs:7:2
|
|
|
|
|
LL | }
|
|
| ^ consider adding a `main` function to `$DIR/elided-test.rs`
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0601`.
|