about summary refs log tree commit diff
path: root/src/test/ui/rust-2018/edition-lint-paths.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-77/+0
2022-03-25resolve: Do not build expensive suggestions if they are not actually usedVadim Petrochenkov-6/+0
Also remove a redundant parameter from `fn resolve_path(_with_ribs)`, `crate_lint: CrateLint` is a more detailed version of `record_used: bool` with `CrateLint::No` meaning `false` and anything else meaning `true`.
2022-01-23Remove deduplication of early lintsAaron Hill-0/+13
We already have a general mechanism for deduplicating reported lints, so there's no need to have an additional one for early lints specifically. This allows us to remove some `PartialEq` impls.
2021-06-25Address PR feedbackRyan Levick-15/+14
2021-06-25Change how edition based future compatibility warnings are handledRyan Levick-7/+7
2018-12-25Remove licensesMark Rousskov-10/+0
2018-08-17rustc_resolve: don't allow paths starting with `::crate`.Eduard-Mihai Burtescu-1/+1
2018-05-25Fix naming conventions for new lintsVadim Petrochenkov-1/+1
2018-05-22rustc: Fix another double-lint issue with `crate::`Alex Crichton-2/+0
This commit fixes another issue in the `absolute_path_not_starting_with_crate` lint where it warns twice about an import which may contain `self`. It turns out there were a few more locations that needed updating to use `root_id` and `root_span` introduced in #50970 and after that it looks to work like a charm! Closes #50978
2018-05-22add new test and add an existing scenario I didn't see coveredNiko Matsakis-0/+6
2018-05-22create a rust-2018 directory for tests related to edition transitionNiko Matsakis-0/+77