about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorEsteban Kuber <esteban@kuber.com.ar>2022-01-21 00:15:39 +0000
committerEsteban Kuber <esteban@kuber.com.ar>2022-03-05 02:42:55 +0000
commit91f360329926981802f8bf5a320517c3ddd37829 (patch)
treed54e059b902be1bfcb98537cc09e27e8ca3958c4 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent32cbc7630b2d6b7141e2588f91380c1a58cf0016 (diff)
downloadrust-91f360329926981802f8bf5a320517c3ddd37829.tar.gz
rust-91f360329926981802f8bf5a320517c3ddd37829.zip
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 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions