about summary refs log tree commit diff
path: root/src/test/ui/main-wrong-location.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-5/+0
2022-03-05Do not point at whole file missing `fn main`Esteban Kuber-2/+1
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.
2021-04-16Remove #[main] attribute.Charles Lew-1/+1
2019-09-14Provide a span if main function is not present in crateMark Rousskov-0/+1
Unfortunately, the diagnotic machinery does not cope well with an empty span which can happen if the crate is empty, in which case we merely set a spanless note.
2018-12-25Remove licensesMark Rousskov-10/+0
2017-12-14Remove NOTE/HELP annotations from UI testsVadim Petrochenkov-1/+1
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-0/+15