| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-07-12 | Auto merge of #86320 - hi-rustin:rustin-patch-fix-span, r=estebank | bors | -1/+2 | |
| shrinking the deprecated span ref: https://github.com/rust-lang/rust/pull/85617#issuecomment-854947988 part of #85403 r? `@estebank` The reason is that if we use method_span directly, it will cause the in_derive_expansion judgment to fail. | ||||
| 2021-07-08 | fn must be const if marked with stability attribut | Lamb | -1/+60 | |
| remove trailing newline fix: test with attribute but missing const Update compiler/rustc_passes/src/stability.rs Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com> Add test for extern functions fix: using span_help instead of span_suggestion add test for some ABIs + fmt fix Update compiler/rustc_passes/src/stability.rs Co-authored-by: Léo Lanteri Thauvin <leseulartichaut@gmail.com> Refractor and add test for `impl const` Add test to make sure no output + cleanup condition ----------------------------- remove stdcall test, failing CI test C abi is already tested in this, so it is not that useful to test another one. The tested code is blind to which specific ABI for now, as long as it's not an intrinsic one | ||||
| 2021-07-01 | Rename all_crate_nums query to crates and remove useless wrapper | bjorn3 | -1/+1 | |
| 2021-06-15 | Use last segment | hi-rustin | -4/+1 | |
| 2021-06-15 | shrinking the deprecated method span | hi-rustin | -1/+5 | |
| 2021-06-14 | Use the now available implementation of `IntoIterator` for arrays | LeSeulArtichaut | -1/+1 | |
| 2021-06-04 | Revert "shrinking the deprecated method span" | Rich Kadel | -5/+1 | |
| 2021-06-02 | Address comment | hi-rustin | -4/+3 | |
| 2021-05-25 | Address comment | hi-rustin | -4/+1 | |
| 2021-05-24 | shrinking the deprecated method span | hi-rustin | -1/+9 | |
| 2021-05-12 | Use () for lang items. | Camille GILLOT | -6/+2 | |
| 2021-05-12 | Use () for privacy. | Camille GILLOT | -1/+1 | |
| 2021-05-07 | shrinking the deprecated method span | hi-rustin | -3/+3 | |
| 2021-03-30 | Remove hir::CrateItem. | Camille GILLOT | -2/+2 | |
| 2021-03-26 | Use iter::zip in compiler/ | Josh Stone | -1/+2 | |
| 2021-03-23 | Some refactoring | varkor | -4/+3 | |
| 2021-03-16 | ast/hir: Rename field-related structures | Vadim Petrochenkov | -5/+5 | |
| StructField -> FieldDef ("field definition") Field -> ExprField ("expression field", not "field expression") FieldPat -> PatField ("pattern field", not "field pattern") Also rename visiting and other methods working on them. | ||||
| 2021-03-09 | Remove hir::Item::attrs. | Camille GILLOT | -1/+2 | |
| 2021-03-09 | Access attrs directly from HirId in rustc_passes::stability. | Camille GILLOT | -12/+1 | |
| 2021-03-05 | Auto merge of #71481 - estebank:inherit-stability, r=nikomatsakis | bors | -24/+52 | |
| Inherit `#[stable(..)]` annotations in enum variants and fields from its item Lint changes for #65515. The stdlib will have to be updated once this lands in beta and that version is promoted in master. | ||||
| 2021-02-15 | Only store a LocalDefId in hir::MacroDef. | Camille GILLOT | -2/+2 | |
| 2021-02-15 | Only store a LocalDefId in hir::ForeignItem. | Camille GILLOT | -2/+2 | |
| 2021-02-15 | Only store a LocalDefId in hir::ImplItem. | Camille GILLOT | -3/+3 | |
| 2021-02-15 | Only store a LocalDefId in hir::TraitItem. | Camille GILLOT | -2/+2 | |
| 2021-02-15 | Only store a LocalDefId in hir::Item. | Camille GILLOT | -10/+8 | |
| Items are guaranteed to be HIR owner. | ||||
| 2021-02-10 | Tweak stability attribute diagnostic output | Esteban Küber | -17/+19 | |
| 2021-02-10 | Inherit `#[stable(..)]` annotations in enum variants and fields from its item | Esteban Küber | -11/+37 | |
| 2021-02-02 | Bump rustfmt version | Mark Rousskov | -1/+2 | |
| Also switches on formatting of the mir build module | ||||
| 2021-01-18 | Only inherit const stability for methods of `impl const Trait` blocks | oli | -10/+60 | |
| 2021-01-12 | Separate out a `hir::Impl` struct | Joshua Nelson | -4/+5 | |
| This makes it possible to pass the `Impl` directly to functions, instead of having to pass each of the many fields one at a time. It also simplifies matches in many cases. | ||||
| 2021-01-01 | adjust const generics defaults FIXMEs to the new feature gate | Rémy Rakic | -1/+1 | |
| 2020-12-16 | Allow `since="TBD"` for rustc_deprecated | bstrie | -20/+24 | |
| 2020-11-26 | Formatting. | Camille GILLOT | -1/+1 | |
| 2020-11-26 | Remove ForeignMod struct. | Camille GILLOT | -2/+2 | |
| 2020-11-02 | Improve deprecation attribute diagnostic messages. | Mara Bos | -3/+3 | |
| (From the PR feedback.) Co-authored-by: Esteban Küber <esteban@kuber.com.ar> | ||||
| 2020-11-01 | Turn 'useless #[deprecated]' error into a lint. | Mara Bos | -11/+11 | |
| 2020-11-01 | Use the right span for errors about #[deprecated] attributes. | Mara Bos | -9/+17 | |
| 2020-11-01 | Deny #[deprecated] on trait impl blocks. | Mara Bos | -1/+4 | |
| They have no effect there, but were silently accepted. | ||||
| 2020-10-16 | stabilize union with 'ManuallyDrop' fields and 'impl Drop for Union' | Ralf Jung | -23/+29 | |
| 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-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-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-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 | |
