summary refs log tree commit diff
path: root/src/librustc_lint
AgeCommit message (Expand)AuthorLines
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-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
2019-06-18Improve the explicit_outlives_requirements lintMatthew Jasper-101/+210
2019-06-18Auto merge of #59625 - immunant:copy_variadics_typealias, r=eddybbors-1/+1
2019-06-18rustc: remove leftover lifetimes with no bounds from where clauses.Eduard-Mihai Burtescu-1/+1
2019-06-18rustc: remove 'x: 'y bounds (except from comments/strings).Eduard-Mihai Burtescu-2/+2
2019-06-17Expose `VaListImpl` as the Rust equivalent of `__va_list_tag` and implement C...Andrei Homescu-1/+1
2019-06-17remove _by_hir_id if there is no NodeId counterpartljedrz-3/+3
2019-06-16Separate librustc_lint modulechansuke-23/+22
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-4/+4
2019-06-12Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-5/+6
2019-06-12rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`.Eduard-Mihai Burtescu-4/+4
2019-06-12Fix fallout from `deny(unused_lifetimes)`.Eduard-Mihai Burtescu-3/+3
2019-06-12rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`.Eduard-Mihai Burtescu-4/+4
2019-06-11Auto merge of #61735 - eddyb:must-use-life, r=oli-obkbors-6/+3
2019-06-11Run `rustfmt --file-lines ...` for changes from previous commits.Eduard-Mihai Burtescu-5/+1
2019-06-11rustc_lint: deny(unused_lifetimes).Eduard-Mihai Burtescu-2/+3
2019-06-10Implement RFC 2645 (transparent enums and unions)Michael Bradshaw-11/+23
2019-06-06Some code cleanup and tidy/test fixesVadim Petrochenkov-9/+3
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-2/+2
2019-06-05Aggregation of drive-by cosmetic changes.Alexander Regueiro-9/+6
2019-06-03Auto merge of #61100 - varkor:must_use-tuple-expr, r=cramertjbors-42/+72
2019-06-03Specify tuple element in lint messagevarkor-3/+6
2019-06-03Fix issue with recursively encountering uninhabited typevarkor-11/+10
2019-06-03Use precise span for must_use tuple componentsvarkor-4/+15
2019-06-03Add test for #[must_use] in tuplesvarkor-2/+2
2019-06-03Warn for #[must_use] in tuplesvarkor-36/+53
2019-05-31Rollup merge of #61342 - memoryruins:ellipsis_inclusive_range_patterns, r=Cen...Pietro Albini-1/+1
2019-05-30Set ellipsis_inclusive_range_patterns lint to warnmemoryruins-1/+1
2019-05-29Introduce and use `SyntaxContext::outer_expn_info()`.Nicholas Nethercote-5/+4
2019-05-27Use `Symbol` equality in `check_ident_token`.Nicholas Nethercote-3/+3
2019-05-23Auto merge of #60740 - petrochenkov:kw, r=nnethercotebors-4/+4
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-4/+4
2019-05-22Allow null-pointer-optimized enums in FFI if their underlying representation ...Michael Bradshaw-38/+70
2019-05-21Remove impls for `InternedString`/string equality.Nicholas Nethercote-1/+1
2019-05-17Auto merge of #49799 - hdhoang:46205_deny_incoherent_fundamental_impls, r=nik...bors-5/+2
2019-05-13Return a `Symbol` from `name_or_empty` functions.Nicholas Nethercote-1/+1
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-18/+19