about summary refs log tree commit diff
path: root/src/test/ui/stability-attribute/stability-attribute-trait-impl.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-43/+0
2022-10-19Allow #[unstable] impl for fn() -> UnstableType.Mara Bos-0/+3
(But not fn() -> !, which is stable.)
2022-10-19Add test for #[unstable] impl for fn() -> !.Mara Bos-0/+4
2022-10-19Add test.Mara Bos-1/+8
2021-11-08Don't abort compilation after giving a lint errorJoshua Nelson-8/+9
The only reason to use `abort_if_errors` is when the program is so broken that either: 1. later passes get confused and ICE 2. any diagnostics from later passes would be noise This is never the case for lints, because the compiler has to be able to deal with `allow`-ed lints. So it can continue to lint and compile even if there are lint errors.
2021-01-15Don't mark `ineffective_unstable_trait_impl` as an internal lintJoshua Nelson-1/+1
It's not an internal lint: - It's not in the rustc::internal lint group - It's on unconditionally, because it actually lints `staged_api`, not the compiler This fixes a bug where `#[deny(rustc::internal)]` would warn that `rustc::internal` was an unknown lint.
2020-09-11Improve `ineffective_unstable_trait_impl` error message.Mara Bos-1/+1
2020-09-11Add test for unstable trait impl lint.Mara Bos-0/+28