about summary refs log tree commit diff
path: root/src/test/ui/main-wrong-location.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-17/+0
2022-05-13optimize find_item to fetch Item only when neededMiguel Guarniz-1/+1
Signed-off-by: Miguel Guarniz <mi9uel9@gmail.com>
2022-03-05Do not point at whole file missing `fn main`Esteban Kuber-9/+4
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-2/+2
2019-09-14Provide a span if main function is not present in crateMark Rousskov-3/+13
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-1/+1
2018-03-14Add backticks to `main` not found errors.Eric Huss-1/+1
2018-03-14Add crate name to "main function not found" error message.Eric Huss-1/+1
Fixes #44798 and rust-lang/cargo#4948.
2018-03-14update testsGuillaume Gomez-1/+1
2018-02-26Update UI testsVadim Petrochenkov-6/+6
2018-02-25Update ui testsGuillaume Gomez-0/+1
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/+11