rust/compiler/rustc_passes
bors 8c93948d6e Auto merge of #93142 - estebank:missing-main, r=wesleywiser
Do not point at whole file missing `fn main`

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.
2022-03-05 02:46:24 +00:00
..
src Auto merge of #93142 - estebank:missing-main, r=wesleywiser 2022-03-05 02:46:24 +00:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00