about summary refs log tree commit diff
path: root/compiler/rustc_passes/src
AgeCommit message (Collapse)AuthorLines
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
The IrMaps::add_variable already contains debug logging. Don't duplicate it.
2020-09-25Address review commentmarmeladema-4/+4
2020-09-25Check for missing const-stability attributes in `stability`Dylan MacKenzie-7/+31
This used to happen as a side-effect of `is_min_const_fn`, which was subtle.
2020-09-25Rollup merge of #77073 - lcnr:ty-trait-param, r=matthewjasperJonas Schievink-1/+4
dead_code: look at trait impls even if they don't contain items fixes #70225
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
Co-authored-by: varkor <github@varkor.com>
2020-09-22Update src/librustc_passes/stability.rsAvi Dessauer-2/+6
Co-authored-by: varkor <github@varkor.com>
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, ↵bors-14/+183
r=matthewjasper Validate built-in attribute placement Closes #54584, closes #47725, closes #54044. I've changed silently ignoring some incorrectly placed attributes to errors. I'm not sure what the policy is since this can theoretically break code (should they be warnings instead? does it warrant a crater run?).
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, ↵bors-1/+11
r=ollie27 Add check for doc alias on assoc const in trait impl Fixes #73721. r? @ollie27
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/+7554