summary refs log tree commit diff
path: root/src/librustc_lint
AgeCommit message (Expand)AuthorLines
2018-02-08Add `AutoBorrowMutability`; its like `hir::Mutability` but w/ two-phase borr...Felix S. Klock II-2/+4
2018-02-04Rollup merge of #47896 - zackmdavis:and_the_case_of_the_necessary_unnecessary...kennytm-9/+28
2018-02-01rustc: prefer ParamEnvAnd and LayoutCx over tuples for LayoutOf.Eduard-Mihai Burtescu-2/+2
2018-01-30wherein the parens lint keeps its own counsel re args in nested macrosZack M. Davis-9/+28
2018-01-23Adds support for immovable generators. Move checking of invalid borrows acros...John Kåre Alsaker-0/+1
2018-01-22Auto merge of #47158 - rkruppe:repr-transparent, r=eddybbors-3/+14
2018-01-18in which the unused-parens lint comes to cover function and method argsZack M. Davis-0/+12
2018-01-16in which the private no-mangle lints receive a valued lesson in humilityZack M. Davis-6/+10
2018-01-16Implement repr(transparent)Robin Kruppe-3/+14
2018-01-13Remove `impl Foo for ..` in favor of `auto trait Foo`leonardo.yvens-30/+0
2018-01-09Rollup merge of #47262 - estebank:issue-45562, r=petrochenkovCorey Farwell-1/+6
2018-01-09Rollup merge of #47258 - rkruppe:struct-assert, r=eddybkennytm-4/+4
2018-01-09Rollup merge of #47256 - rkruppe:misc-cleanup, r=eddybkennytm-7/+5
2018-01-07Account for `pub` in `const` -> `static` suggestionEsteban Küber-1/+6
2018-01-08rustc::ty: Rename `struct_variant` to `non_enum_variant`Robin Kruppe-4/+4
2018-01-07Rename ReprExtern to ReprC, and similarily rename a few other fields and loca...Robin Kruppe-7/+5
2018-01-07Try to fix a perf regression by updating logMalo Jaffré-1/+1
2018-01-07Rollup merge of #47170 - eddyb:us-vs-usize, r=nikomatsakiskennytm-7/+7
2018-01-05Auto merge of #46907 - varkor:contrib-8, r=nagisabors-4/+26
2018-01-04rustc: use {U,I}size instead of {U,I}s shorthands.Eduard-Mihai Burtescu-7/+7
2018-01-02Limit style lint to non-synthetic generic paramsTaylor Cramer-1/+3
2018-01-02Remove dependency on regexvarkor-29/+33
2017-12-28Prefer to use attr::contains_name() and attr::find_by_name()Seiichi Uchida-3/+1
2017-12-25Auto merge of #46914 - mikeyhew:raw_pointer_self, r=arielb1bors-0/+4
2017-12-23Auto merge of #46857 - estebank:use-loop-sp, r=nikomatsakisbors-4/+2
2017-12-22Convert warning about `*const _` to a future-compat lintMichael Hewson-0/+4
2017-12-21Auto merge of #46922 - kennytm:rollup, r=kennytmbors-1/+21
2017-12-22Rollup merge of #46858 - QuietMisdreavus:external-doc-error, r=estebankkennytm-1/+21
2017-12-21Adjust the rules for underscoresvarkor-3/+6
2017-12-21Add GenericParam, refactor Generics in ast, hir, rustdocJonas Platte-13/+17
2017-12-21Allow underscores in camel-case between non-alphabetic charactersvarkor-12/+27
2017-12-19Point at `while true` span instead of entire blockEsteban Küber-4/+2
2017-12-19make the missing_docs lint check for doc(include)QuietMisdreavus-1/+21
2017-12-17Use def span for conflicting impls and recursive fnEsteban Küber-4/+5
2017-12-05convert the new conflicts to a soft errorAriel Ben-Yehuda-1/+4
2017-12-02Rollup merge of #45880 - arielb1:never-coerce, r=nikomatsakiskennytm-0/+4
2017-11-30make coercions to `!` in unreachable code a hard errorAriel Ben-Yehuda-0/+4
2017-11-30Implement RFC 2128 (use_nested_groups)Pietro Albini-7/+39
2017-11-26make accessing packed fields a future-compat warningAriel Ben-Yehuda-0/+5
2017-11-19rustc: track validity ranges for layout::Abi::Scalar values.Eduard-Mihai Burtescu-2/+2
2017-11-19rustc: collapse the remains of Layout into Variants (enums vs everything else).Eduard-Mihai Burtescu-2/+2
2017-11-19rustc: move size, align & primitive_align from Abi::Aggregate to layout.Eduard-Mihai Burtescu-3/+2
2017-11-19rustc_trans: go through layouts uniformly for fat pointers and variants.Eduard-Mihai Burtescu-1/+1
2017-11-19rustc: hide details in Layout in favor of Abi or FieldPlacement.Eduard-Mihai Burtescu-2/+2
2017-11-19rustc: store CachedLayout for each variant of enum Layout's instead of Struct.Eduard-Mihai Burtescu-1/+1
2017-11-19rustc: move size/alignment from Layout into layout::Abi.Eduard-Mihai Burtescu-1/+1
2017-11-19rustc: use Primitive instead of Integer for CEnum and General discriminants.Eduard-Mihai Burtescu-2/+2
2017-11-19rustc: remove Ty::layout and move everything to layout_of.Eduard-Mihai Burtescu-3/+2
2017-11-15convert EXTRA_REQUIREMENT_IN_IMPL into a hard errorNiko Matsakis-4/+2
2017-11-03Auto merge of #45247 - leodasvacas:implement-auto-trait-syntax, r=nikomatsakisbors-4/+34