about summary refs log tree commit diff
path: root/src/librustc_lint
AgeCommit message (Expand)AuthorLines
2020-03-05Rollup merge of #69736 - matthiaskrgr:even_more_clippy, r=Dylan-DPCDylan DPC-2/+2
2020-03-05Use more efficient &&str to String conversion (clippy::inefficient_to_string)Matthias Krüger-2/+2
2020-03-04Don't use "if let" bindings to only check a value and not actually bind anyth...Matthias Krüger-1/+1
2020-03-03rename TraitItemKind::Method -> FnMark Mansi-2/+2
2020-03-03DefKind::Method -> DefKind::AssocFnMark Mansi-1/+1
2020-03-01encode `;` stmt w/o expr as `StmtKind::Empty`Mazdak Farrokhzad-40/+36
2020-03-01Auto merge of #69380 - Zoxc:parent-module, r=michaelwoeristerbors-2/+1
2020-03-01Auto merge of #69592 - petrochenkov:nosyntax, r=Centrilbors-31/+31
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-30/+30
2020-02-29Rollup merge of #69572 - matthiaskrgr:try_err_and_iter_on_ref, r=CentrilDylan DPC-1/+1
2020-02-29Make it build againVadim Petrochenkov-2/+2
2020-02-29Add a `parent_module_from_def_id` queryJohn Kåre Alsaker-2/+1
2020-02-29use .iter() instead of .into_iter() on references.Matthias Krüger-1/+1
2020-02-29Rollup merge of #69567 - matthiaskrgr:useless_fmt, r=nagisaDylan DPC-11/+11
2020-02-29use .to_string() instead of format!() macro to create stringsMatthias Krüger-11/+11
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2020-02-24parse/ast: move `Defaultness` into variants.Mazdak Farrokhzad-1/+1
2020-02-23Auto merge of #69084 - yaahc:delayed-doc-lint, r=petrochenkovbors-61/+36
2020-02-22Remove traitJane Lusby-44/+25
2020-02-21clean things upJane Lusby-22/+12
2020-02-20Rollup merge of #69185 - RalfJung:const-prop-lints, r=oli-obkMazdak Farrokhzad-0/+1
2020-02-18better lint namesRalf Jung-0/+1
2020-02-18Rollup merge of #69194 - Centril:assoc-extern-fuse, r=petrochenkovMazdak Farrokhzad-2/+2
2020-02-17Rename `FunctionRetTy` to `FnRetTy`Yuki Okushi-1/+1
2020-02-16Other crates.Camille GILLOT-1/+1
2020-02-16Make librustc_infer compile.Camille GILLOT-0/+1
2020-02-15ast: make `= <expr>;` optional in free statics/consts.Mazdak Farrokhzad-1/+1
2020-02-15ast: move Generics into AssocItemKindsMazdak Farrokhzad-1/+1
2020-02-15Emit some additional `unused_doc_comments` lints outside of the main passVadim Petrochenkov-7/+10
2020-02-15rustc_lint: Move `unused_doc_comments` from pre-expansion to early lintsVadim Petrochenkov-1/+2
2020-02-13Constness -> enum Const { Yes(Span), No }Mazdak Farrokhzad-3/+3
2020-02-11Auto merge of #69062 - Dylan-DPC:rollup-7wpjpqu, r=Dylan-DPCbors-1/+0
2020-02-11Rollup merge of #66498 - bjorn3:less_feature_flags, r=Dylan-DPCDylan DPC-1/+0
2020-02-11Avoid allocs in a few places.jumbatm-13/+14
2020-02-11Address review nitpicks.jumbatm-4/+4
2020-02-11Move more into decorate functions.jumbatm-25/+28
2020-02-11Run RustFmtjumbatm-72/+90
2020-02-11Make cx.span_lint methods lazyjumbatm-111/+80
2020-02-11Move more work into `decorate` functions.jumbatm-15/+13
2020-02-11Run RustFmtjumbatm-285/+250
2020-02-11Invert control in struct_lint_level.jumbatm-520/+579
2020-02-11Auto merge of #68929 - matprec:consistent-issue-references, r=Dylan-DPCbors-19/+38
2020-02-10self-profile: Support arguments for generic_activities.Michael Woerister-18/+9
2020-02-09Make issue references consistentMatthias Prechtl-19/+38
2020-02-07Remove unused feature gate from librustc_lintbjorn3-1/+0
2020-02-06Rollup merge of #68844 - euclio:debug-impl-def-path, r=petrochenkovDylan DPC-4/+7
2020-02-06Rollup merge of #68788 - Centril:unified-fn-bodies, r=petrochenkovDylan DPC-54/+34
2020-02-05unused-parens: implement for const/static itemsTyler Lanphear-0/+8
2020-02-05parser: merge `fn` grammars wrt. bodies & headersMazdak Farrokhzad-54/+34
2020-02-04use def_path_str for missing_debug_impls messageAndy Russell-4/+7