summary refs log tree commit diff
path: root/compiler/rustc_passes
AgeCommit message (Expand)AuthorLines
2020-10-02Rollup merge of #76811 - GuillaumeGomez:doc-alias-name-restriction, r=oli-obk...Jonas Schievink-7/+27
2020-10-02Forbid some characters to be used as doc aliasGuillaume Gomez-7/+27
2020-10-01Rollup merge of #77343 - varkor:rustc_args_required_const-validation, r=lcnrDylan DPC-9/+101
2020-09-30Rollup merge of #77296 - tmiasko:liveness-option, r=ecstatic-morseJonas Schievink-40/+36
2020-09-30Validate `rustc_args_required_const`varkor-9/+101
2020-09-30liveness: Use Option::None to represent absent live nodesTomasz Miąsko-40/+36
2020-09-29Liveness analysis for everybodyTomasz Miąsko-34/+28
2020-09-27liveness: Inline visitor implementation for IrMapsTomasz Miąsko-199/+175
2020-09-27liveness: Store upvars_mentioned inside Liveness structTomasz Miąsko-4/+6
2020-09-27liveness: Use visit_param to add variables corresponding to paramsTomasz Miąsko-15/+19
2020-09-27liveness: Use upvars instead of FnKind to check for closuresTomasz Miąsko-13/+10
2020-09-27liveness: Move body_owner field from IrMaps to LivenessTomasz Miąsko-18/+12
2020-09-27Auto merge of #77229 - tmiasko:liveness, r=lcnrbors-121/+90
2020-09-27Rollup merge of #77203 - ecstatic-morse:const-stability-attr-checks, r=oli-obkJonas Schievink-7/+31
2020-09-27Auto merge of #77118 - exrook:stability-generic-parameters-2, r=varkorbors-26/+122
2020-09-27liveness: Access live nodes directly through self.lnks[ln]Tomasz Miąsko-7/+3
2020-09-26liveness: Use newtype_index for Variable and LiveNodeTomasz Miąsko-66/+46
2020-09-26liveness: Remove unnecessary local variable exit_lnTomasz Miąsko-3/+2
2020-09-26liveness: Inline contents of specials structTomasz Miąsko-30/+25
2020-09-26liveness: Delay conversion from a symbol to a string until lintingTomasz Miąsko-5/+12
2020-09-26liveness: Remove redundant fields for a number of live nodes and variablesTomasz Miąsko-14/+8
2020-09-26liveness: Remove redundant debug loggingTomasz Miąsko-2/+0
2020-09-25Address review commentmarmeladema-4/+4
2020-09-25Check for missing const-stability attributes in `stability`Dylan MacKenzie-7/+31
2020-09-25Rollup merge of #77073 - lcnr:ty-trait-param, r=matthewjasperJonas Schievink-1/+4
2020-09-23/nightly/nightly-rustcErik Hofmayer-1/+1
2020-09-23Updated html_root_url for compiler cratesErik Hofmayer-1/+1
2020-09-22Fix compilation & test failuresJacob Hughes-2/+8
2020-09-22Update src/librustc_passes/stability.rsAvi Dessauer-2/+1
2020-09-22Update src/librustc_passes/stability.rsAvi Dessauer-2/+6
2020-09-22Add documentationAvi Dessauer-33/+84
2020-09-22Stability annotations on generic trait parametersAvi Dessauer-16/+52
2020-09-22dead_code: look at trait impls even if they don't contain itemsBastian Kauschke-1/+4
2020-09-19transmute: use diagnostic itemBastian Kauschke-1/+13
2020-09-13allow concrete self types in constsBastian Kauschke-1/+1
2020-09-12Auto merge of #73461 - calebzulawski:validate-attribute-placement, r=matthewj...bors-14/+183
2020-09-11Improve `ineffective_unstable_trait_impl` error message.Mara Bos-4/+4
2020-09-11Turn unstable trait impl error into a lint, so it can be disabled.Mara Bos-21/+28
2020-09-11Turn useless #[unstable] attributes into errors.Mara Bos-1/+1
2020-09-11Warn for #[unstable] on trait impls when it has no effect.Mara Bos-2/+64
2020-09-05Emit warnings on misplaced #[no_mangle]Caleb Zulawski-0/+23
2020-09-05Allow #[cold], #[track_caller] on closures. Fix whitespace in error messages.Caleb Zulawski-13/+13
2020-09-05Emit warnings for misplaced attributes used by some cratesCaleb Zulawski-53/+100
2020-09-05Check placement of more attributesCaleb Zulawski-6/+105
2020-09-05Auto merge of #75888 - GuillaumeGomez:trait-impl-assoc-const-doc-alias, r=oll...bors-1/+11
2020-09-04Change ty.kind to a methodLeSeulArtichaut-10/+10
2020-09-03Add check for doc alias on associated const in trait implsGuillaume Gomez-1/+11
2020-08-30mv compiler to compiler/mark-0/+7573