summary refs log tree commit diff
path: root/src/librustc_lint
AgeCommit message (Expand)AuthorLines
2019-09-13Turn `soft_unstable` into a future-compatibility lintVadim Petrochenkov-1/+6
2019-08-12more informative error message from invalid_value lintRalf Jung-19/+41
2019-08-11note down some more future plansRalf Jung-0/+2
2019-08-11add tuple_fields convenience method and use it in a few placesRalf Jung-7/+2
2019-08-11warn for more casesRalf Jung-5/+38
2019-08-11add basic lint testing for misuse of mem::zeroed and mem::uninitializedRalf Jung-0/+60
2019-08-08Return early to avoid failing assertionYuki Okushi-1/+3
2019-08-07Rollup merge of #63163 - bravomikekilo:master, r=cramertjMazdak Farrokhzad-27/+83
2019-08-05Fiddle param env through to `try_eval_bits` in most placesOliver Scherer-1/+1
2019-08-05Don't abort on unevaluated constants without at least tryting to eval themOliver Scherer-1/+1
2019-08-04Rename `ItemImplKind::Type` to `ItemImplKind::TyAlias`varkor-1/+1
2019-08-04Rename `ItemKind::Ty` to `ItemKind::TyAlias`varkor-4/+4
2019-08-03fix tidy problembravomikekilo-2/+11
2019-08-03add new test and add conditional whitespacebravomikekilo-28/+67
2019-08-02Replace "existential" by "opaque"varkor-1/+1
2019-07-31add a pair of whitespace after remove parenthesesbravomikekilo-2/+10
2019-07-30Turn INCOMPLETE_FEATURES into a lint.Mazdak Farrokhzad-3/+35
2019-07-28Deny `unused_lifetimes` through rustbuildVadim Petrochenkov-2/+0
2019-07-28Remove lint annotations in specific crates that are already enforced by rustb...Vadim Petrochenkov-1/+0
2019-07-24syntax_ext: Reuse built-in attribute template checking for macro attributesVadim Petrochenkov-2/+2
2019-07-21normalize use of backticks in compiler messages for librustc_lintSamy Kacimi-10/+10
2019-07-13Make `register_[long_]diagnostics` hygienicMatthew Jasper-1/+1
2019-07-10Auto merge of #62339 - pnkfelix:issue-61188-use-visitor-for-structural-match-...bors-0/+5
2019-07-08future-compat lint for newly handled cases of `#[structural_match]`.Felix S. Klock II-0/+5
2019-07-07Rollup merge of #61883 - zackmdavis:non_ascii_idents_lint, r=ManishearthMazdak Farrokhzad-0/+25
2019-07-07rustc: Remove `dylib` crate type from most rustc cratesAlex Crichton-1/+0
2019-07-06in which the `non_ascii_idents` lint appears (RFC 2457)Zack M. Davis-0/+25
2019-07-06Make WhileTrue into an EarlyLintPass lint.Mazdak Farrokhzad-27/+19
2019-07-06Remove ExprKind::While from HIR.Mazdak Farrokhzad-1/+17
2019-07-05Rollup merge of #62168 - ljedrz:the_culmination_of_hiridification, r=ZoxcMazdak Farrokhzad-14/+14
2019-07-05Rollup merge of #61545 - flip1995:internal_lints, r=oli-obkMazdak Farrokhzad-2/+3
2019-07-04rename hir::map::local_def_id_from_hir_id to local_def_idljedrz-14/+14
2019-07-03Remove needless lifetimesJeremy Stucki-1/+1
2019-06-30Extend #[must_use] lint to arraysvarkor-12/+36
2019-06-30Improve error messages for boxed trait objects in tuplesvarkor-5/+5
2019-06-30Extend the #[must_use] lint to boxed typesvarkor-5/+15
2019-06-27Rollup merge of #62160 - ia0:question_mark_macro_sep, r=petrochenkovMazdak Farrokhzad-6/+0
2019-06-26Remove outdated question_mark_macro_sep lintJulien Cretin-6/+0
2019-06-24Rename internal -> rustc::internalflip1995-1/+1
2019-06-24Enable internal lints in bootstrapflip1995-1/+0
2019-06-24Implement initernal lint LINT_PASS_IMPL_WITHOUT_MACROflip1995-0/+2
2019-06-24HIR: rename find_by_hir_id to findljedrz-1/+1
2019-06-24HIR: rename get_parent_node_by_hir_id to get_parent_nodeljedrz-2/+2
2019-06-23Auto merge of #60861 - Centril:let-chains-ast-intro, r=petrochenkovbors-15/+21
2019-06-23Fix meta-variable binding errors in macrosJulien Cretin-1/+1
2019-06-23let_chains: scrutinee -> head expression.Mazdak Farrokhzad-1/+1
2019-06-23let_chains: Handle in unused parenthesis lint.Mazdak Farrokhzad-15/+21
2019-06-20rename hir::map::get_by_hir_id to getljedrz-2/+2
2019-06-19Auto merge of #61172 - matthewjasper:cleanup-implied-bounds-lint, r=varkorbors-101/+211
2019-06-18Address review commentsMatthew Jasper-19/+20