about summary refs log tree commit diff
path: root/src/librustc_lint/internal.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-247/+0
2020-08-17rust_ast::ast => rustc_astUjjwal Sharma-1/+1
2020-07-03Use 'tcx for references to AccessLevels wherever possible.Eduard-Mihai Burtescu-5/+5
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-2/+2
2020-03-30Use if let instead of match when only matching a single variant ↵Matthias Krüger-10/+7
(clippy::single_match) Makes code more compact and reduces nestig.
2020-03-19rustc: use LocalDefId instead of DefIndex in HirId.Eduard-Mihai Burtescu-1/+1
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-11Move more into decorate functions.jumbatm-2/+2
2020-02-11Run RustFmtjumbatm-39/+30
2020-02-11Invert control in struct_lint_level.jumbatm-34/+47
Caller now passes in a `decorate` function, which is only run if the lint is allowed.
2020-01-26Don't use ExpnKind::descr to get the name of a bang macro.Eduard-Mihai Burtescu-2/+4
2020-01-17Use named fields for `ast::ItemKind::Impl`Dylan MacKenzie-1/+1
2020-01-12Use `report_in_external_macro` for internal lintsAfnan Enayet-4/+8
Add the option to report lints in external macros for rustc internal lints
2020-01-11move rustc::lint::{context, passes} to rustc_lint.Mazdak Farrokhzad-2/+1
Also do some cleanup of the interface.
2020-01-11{rustc::lint -> rustc_lint}::internalMazdak Farrokhzad-0/+241