summary refs log tree commit diff
path: root/src/librustc_lint
AgeCommit message (Expand)AuthorLines
2017-08-26Rollup merge of #43776 - zackmdavis:feature_gate_fn_must_use, r=alexcrichtonCorey Farwell-15/+19
2017-08-25*: remove crate_{name,type} attributesTamir Duberstein-3/+0
2017-08-22hard feature-gate for #[must_use] on functionsZack M. Davis-15/+19
2017-08-19rustc: Remove some dead codeVadim Petrochenkov-4/+4
2017-08-14Auto merge of #43740 - michaelwoerister:local-id-in-typecktables, r=arielb1bors-14/+16
2017-08-14Fix some merge fallout.Michael Woerister-2/+2
2017-08-13Auto merge of #43813 - pengowen123:unused_result, r=estebankbors-1/+9
2017-08-12syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros.Eduard-Mihai Burtescu-8/+17
2017-08-11Don't trigger unused_result on functions returning empty enumsOwen Sanchez-1/+7
2017-08-11Fix unused_result lint triggering when a function returns `()` or `!`Owen Sanchez-0/+2
2017-08-11Encapsulate sub-table access in TypeckTables and validate keys on each access.Michael Woerister-3/+2
2017-08-11Use ItemLocalId as key for TypeckTables::pat_binding_modes.Michael Woerister-1/+3
2017-08-11Use ItemLocalId as key for node_types, node_substs, and adjustments in Typeck...Michael Woerister-9/+9
2017-08-11Make TypeckTables::type_dependent_defs use ItemLocalId instead of NodeId.Michael Woerister-4/+5
2017-08-09rustc: Rearchitect lints to be emitted more eagerlyAlex Crichton-9/+6
2017-08-09Auto merge of #43728 - zackmdavis:fnused, r=eddybbors-9/+25
2017-08-08#[must_use] for functions (RFC 1940)Zack M. Davis-9/+25
2017-08-08make `for_all_relevant_impls` O(1) againAriel Ben-Yehuda-2/+1
2017-07-30default binding modes: add pat_binding_modesTobias Schottdorf-2/+6
2017-07-29Auto merge of #43009 - GuillaumeGomez:unused-doc-comments, r=nrcbors-0/+41
2017-07-27Make a lint insteadGuillaume Gomez-0/+41
2017-07-27rustc_const_eval: keep track of the appropriate ParamEnv.Eduard-Mihai Burtescu-1/+3
2017-07-27rustc_const_eval: always require correct Substs.Eduard-Mihai Burtescu-1/+8
2017-07-19Fix overflowing_literals lint for large f32sOliver Middleton-13/+5
2017-07-18Prohibit lifetime arguments in path segments with late bound lifetime parametersVadim Petrochenkov-1/+5
2017-07-08Move public reexports of private extern crates into a separate lintVadim Petrochenkov-0/+4
2017-07-05rustc: Implement the #[global_allocator] attributeAlex Crichton-1/+2
2017-06-29Rollup merge of #42886 - durka:pplmm-mwe, r=petrochenkovAriel Ben-Yehuda-7/+3
2017-06-27syntax: allow negative integer literal expression to be interpolated as patternAlex Burka-7/+3
2017-06-27rustc: move the PolyFnSig out of TyFnDef.Eduard-Mihai Burtescu-14/+6
2017-06-20Rollup merge of #42756 - sanxiyn:name-for-must-use, r=estebankCorey Farwell-7/+6
2017-06-19Bump version and stage0 compilerAlex Crichton-4/+0
2017-06-20Show type name for unused_must_use lintSeo Sanghyeon-7/+6
2017-06-10rustc: make the comon case of tcx.infer_ctxt(()) nicer.Eduard-Mihai Burtescu-1/+1
2017-06-09rustc: track the current ty::ParamEnv in lint::LateContext.Eduard-Mihai Burtescu-12/+9
2017-06-01strip param-env from infcxNiko Matsakis-2/+3
2017-06-01rewrite layout to take a (param-env, ty) pair instead of infcxNiko Matsakis-7/+6
2017-06-01move projection mode into parameter environmentNiko Matsakis-3/+3
2017-06-01Auto merge of #42281 - eddyb:well-adjusted, r=nikomatsakisbors-34/+32
2017-06-01rustc: decompose Adjustment into a vector of adjustment steps.Eduard-Mihai Burtescu-27/+14
2017-06-01rustc: move autoref and unsize from Adjust::DerefRef to Adjustment.Eduard-Mihai Burtescu-14/+12
2017-06-01rustc: replace autoderefs' use of MethodCallee with OverloadedDeref.Eduard-Mihai Burtescu-2/+8
2017-06-01rustc: replace method_map with Def::Method and node_substs entries.Eduard-Mihai Burtescu-10/+19
2017-06-01rustc: remove unnecessary ItemSubsts wrapper.Eduard-Mihai Burtescu-2/+1
2017-06-01rustc: keep overloaded autoderef MethodCallee's in Adjust.Eduard-Mihai Burtescu-7/+6
2017-05-30Turn `invalid_type_param_default` into a lint againVadim Petrochenkov-2/+4
2017-05-30Turn sufficiently old compatibility lints into hard errorsVadim Petrochenkov-43/+30
2017-05-30Auto merge of #42282 - Mark-Simulacrum:issue-40342, r=arielb1bors-2/+2
2017-05-29Auto merge of #41856 - qnighy:prohibit-parenthesized-params-in-more-types, r=...bors-0/+4
2017-05-28Don't warn on lifetime generic no_mangle functions.Mark Simulacrum-2/+2