about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-03-05 02:46:24 +0000
committerbors <bors@rust-lang.org>2022-03-05 02:46:24 +0000
commit8c93948d6e9e09abfffc53d0b863ece16cde7286 (patch)
tree10ea920d27f4eaf8399a3f6dffd0991366090f2e /library/std/src
parent69f11fff33f68701d222639a1a5ae991605ec3ab (diff)
parent91f360329926981802f8bf5a320517c3ddd37829 (diff)
downloadrust-8c93948d6e9e09abfffc53d0b863ece16cde7286.tar.gz
rust-8c93948d6e9e09abfffc53d0b863ece16cde7286.zip
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.
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions