| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-10-02 | Rollup merge of #76811 - GuillaumeGomez:doc-alias-name-restriction, ↵ | Jonas Schievink | -7/+27 | |
| r=oli-obk,ollie27 Doc alias name restriction Fixes #76705. | ||||
| 2020-10-02 | Forbid some characters to be used as doc alias | Guillaume Gomez | -7/+27 | |
| 2020-10-01 | Rollup merge of #77343 - varkor:rustc_args_required_const-validation, r=lcnr | Dylan DPC | -9/+101 | |
| Validate `rustc_args_required_const` Fixes https://github.com/rust-lang/rust/issues/74608. | ||||
| 2020-09-30 | Rollup merge of #77296 - tmiasko:liveness-option, r=ecstatic-morse | Jonas Schievink | -40/+36 | |
| liveness: Use Option::None to represent absent live nodes No functional changes intended. | ||||
| 2020-09-30 | Validate `rustc_args_required_const` | varkor | -9/+101 | |
| 2020-09-30 | liveness: Use Option::None to represent absent live nodes | Tomasz Miąsko | -40/+36 | |
| No functional changes intended. | ||||
| 2020-09-29 | Liveness analysis for everybody | Tomasz Miąsko | -34/+28 | |
| Perform liveness analysis for every body instead of limiting it to fns. | ||||
| 2020-09-27 | liveness: Inline visitor implementation for IrMaps | Tomasz Miąsko | -199/+175 | |
| 2020-09-27 | liveness: Store upvars_mentioned inside Liveness struct | Tomasz Miąsko | -4/+6 | |
| 2020-09-27 | liveness: Use visit_param to add variables corresponding to params | Tomasz Miąsko | -15/+19 | |
| 2020-09-27 | liveness: Use upvars instead of FnKind to check for closures | Tomasz Miąsko | -13/+10 | |
| Avoiding FnKind will make it easier to run liveness analysis on all bodies in the future, not just fn-like things. | ||||
| 2020-09-27 | liveness: Move body_owner field from IrMaps to Liveness | Tomasz Miąsko | -18/+12 | |
| The Liveness struct is the only user of body_owner field. Move the field there. | ||||
| 2020-09-27 | Auto merge of #77229 - tmiasko:liveness, r=lcnr | bors | -121/+89 | |
| Small improvements in liveness pass * Remove redundant debug logging (`add_variable` already contains logging). * Remove redundant fields for a number of live nodes and variables. * Delay conversion from a symbol to a string until linting. * Inline contents of specials struct. * Remove unnecessary local variable exit_ln. * Use newtype_index for Variable and LiveNode. * Access live nodes directly through self.lnks[ln]. No functional changes intended (except those related to the logging). | ||||
| 2020-09-27 | Rollup merge of #77203 - ecstatic-morse:const-stability-attr-checks, r=oli-obk | Jonas Schievink | -7/+31 | |
| Check for missing const-stability attributes in `rustc_passes` Currently, this happens as a side effect of `is_min_const_fn`, which is non-obvious. Also adds a test for this case, since we didn't seem to have one before. | ||||
| 2020-09-27 | Auto merge of #77118 - exrook:stability-generic-parameters-2, r=varkor | bors | -26/+122 | |
| Stability annotations on generic parameters (take 2.5) Rebase of #72314 + more tests Implements rust-lang/wg-allocators#2. | ||||
| 2020-09-27 | liveness: Access live nodes directly through self.lnks[ln] | Tomasz Miąsko | -7/+3 | |
| 2020-09-26 | liveness: Use newtype_index for Variable and LiveNode | Tomasz Miąsko | -66/+45 | |
| 2020-09-26 | liveness: Remove unnecessary local variable exit_ln | Tomasz Miąsko | -3/+2 | |
| 2020-09-26 | liveness: Inline contents of specials struct | Tomasz Miąsko | -30/+25 | |
| 2020-09-26 | liveness: Delay conversion from a symbol to a string until linting | Tomasz Miąsko | -5/+12 | |
| 2020-09-26 | liveness: Remove redundant fields for a number of live nodes and variables | Tomasz Miąsko | -14/+8 | |
| 2020-09-26 | liveness: Remove redundant debug logging | Tomasz Miąsko | -2/+0 | |
| The IrMaps::add_variable already contains debug logging. Don't duplicate it. | ||||
| 2020-09-25 | Address review comment | marmeladema | -4/+4 | |
| 2020-09-25 | Check 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-25 | Rollup merge of #77073 - lcnr:ty-trait-param, r=matthewjasper | Jonas Schievink | -1/+4 | |
| dead_code: look at trait impls even if they don't contain items fixes #70225 | ||||
| 2020-09-23 | /nightly/nightly-rustc | Erik Hofmayer | -1/+1 | |
| 2020-09-23 | Updated html_root_url for compiler crates | Erik Hofmayer | -1/+1 | |
| 2020-09-22 | Fix compilation & test failures | Jacob Hughes | -2/+8 | |
| 2020-09-22 | Update src/librustc_passes/stability.rs | Avi Dessauer | -2/+1 | |
| Co-authored-by: varkor <github@varkor.com> | ||||
| 2020-09-22 | Update src/librustc_passes/stability.rs | Avi Dessauer | -2/+6 | |
| Co-authored-by: varkor <github@varkor.com> | ||||
| 2020-09-22 | Add documentation | Avi Dessauer | -33/+84 | |
| 2020-09-22 | Stability annotations on generic trait parameters | Avi Dessauer | -16/+52 | |
| 2020-09-22 | dead_code: look at trait impls even if they don't contain items | Bastian Kauschke | -1/+4 | |
| 2020-09-19 | transmute: use diagnostic item | Bastian Kauschke | -1/+13 | |
| 2020-09-13 | allow concrete self types in consts | Bastian Kauschke | -1/+1 | |
| 2020-09-12 | Auto 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-11 | Improve `ineffective_unstable_trait_impl` error message. | Mara Bos | -4/+4 | |
| 2020-09-11 | Turn unstable trait impl error into a lint, so it can be disabled. | Mara Bos | -21/+28 | |
| 2020-09-11 | Turn useless #[unstable] attributes into errors. | Mara Bos | -1/+1 | |
| 2020-09-11 | Warn for #[unstable] on trait impls when it has no effect. | Mara Bos | -2/+64 | |
| 2020-09-05 | Emit warnings on misplaced #[no_mangle] | Caleb Zulawski | -0/+23 | |
| 2020-09-05 | Allow #[cold], #[track_caller] on closures. Fix whitespace in error messages. | Caleb Zulawski | -13/+13 | |
| 2020-09-05 | Emit warnings for misplaced attributes used by some crates | Caleb Zulawski | -53/+100 | |
| 2020-09-05 | Check placement of more attributes | Caleb Zulawski | -6/+105 | |
| 2020-09-05 | Auto 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-04 | Change ty.kind to a method | LeSeulArtichaut | -10/+10 | |
| 2020-09-03 | Add check for doc alias on associated const in trait impls | Guillaume Gomez | -1/+11 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+7554 | |
