about summary refs log tree commit diff
path: root/src/test/ui/entry-point
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-93/+0
2022-03-28Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk"Oli Scherer-24/+3
This reverts commit 6499c5e7fc173a3f55b7a3bd1e6a50e9edef782d, reversing changes made to 78450d2d602b06d9b94349aaf8cece1a4acaf3a8.
2022-03-05Do not point at whole file missing `fn main`Esteban Kuber-28/+14
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.
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-2/+23
This reverts commit e7cc3bddbe0d0e374d05e7003e662bba1742dbae, reversing changes made to 734368a200904ef9c21db86c595dc04263c87be0.
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-23/+2
by using an opaque type obligation to bubble up comparisons between opaque types and other types Also uses proper obligation causes so that the body id works, because out of some reason nll uses body ids for logic instead of just diagnostics.
2021-11-23Fix printing unit return ty, don't elaborate FnOnce unless we see itMichael Goulet-1/+1
2021-11-23Update test outputsMichael Goulet-1/+1
2021-10-25Edit error messages for rustc_resolve::AmbiguityKind variantspierwill-2/+3
Emit description of the ambiguity as a note. Co-authored-by: Noah Lev <camelidcamel@gmail.com> Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
2021-07-27Make all tests use type_alias_impl_trait feature instead of minSantiago Pastorino-2/+2
2021-07-18Remove impl_trait_in_bindings feature flagSantiago Pastorino-4/+25
2021-05-09Add primary marker on codegen unit to take charge of main_wrapper for ↵Charles Lew-14/+2
non-local cases.
2021-04-29Implement RFC 1260 with feature_name `imported_main`.Charles Lew-0/+118