about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
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
commit90da7cdd41e1952e30981ad1047c1e493458e92d (patch)
treee5c3ed29568a358efe3c989dc0bf86121fb11883 /src/test/codegen/src-hash-algorithm
parent92b6955b12a11d8c1e60fc08e8245d5d55f3a4fb (diff)
downloadrust-90da7cdd41e1952e30981ad1047c1e493458e92d.tar.gz
rust-90da7cdd41e1952e30981ad1047c1e493458e92d.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 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions