about summary refs log tree commit diff
path: root/src/test/ui/stability-attribute
AgeCommit message (Collapse)AuthorLines
2021-03-15More precise spans for HIR pathsVadim Petrochenkov-4/+4
2021-03-05Auto merge of #71481 - estebank:inherit-stability, r=nikomatsakisbors-21/+23
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-18Add long explanation for E0549Jesus Rubio-1/+1
2021-02-17Add long explanation for E0543Jesus Rubio-1/+1
2021-02-15Add long explanation for E0545Jesus Rubio-1/+1
2021-02-10Tweak stability attribute diagnostic outputEsteban Küber-8/+14
2021-02-10Inherit `#[stable(..)]` annotations in enum variants and fields from its itemEsteban Küber-17/+13
2021-02-08Add long explanation for E0547Jesus Rubio-1/+1
2021-02-06Add long error explanation for E0542Jesus Rubio-1/+1
2021-01-15Don't mark `ineffective_unstable_trait_impl` as an internal lintJoshua Nelson-2/+2
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-12-16Allow `since="TBD"` for rustc_deprecatedbstrie-4/+14
2020-12-07Move some tests to subdirectoriesVadim Petrochenkov-0/+234
2020-12-02bless stability-attribute-sanity ui testDaiki Ihara-1/+1
2020-11-02Improve deprecation attribute diagnostic messages.Mara Bos-6/+2
(From the PR feedback.) Co-authored-by: Esteban Küber <esteban@kuber.com.ar>
2020-11-01Use the right span for errors about #[deprecated] attributes.Mara Bos-9/+15
2020-09-27Rollup merge of #77203 - ecstatic-morse:const-stability-attr-checks, r=oli-obkJonas Schievink-0/+20
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-25Test for missing const-stability attributesDylan MacKenzie-0/+20
2020-09-23Add enum and type alias tests for generic default stabilityJacob Hughes-2/+540
2020-09-22Fix compilation & test failuresJacob Hughes-32/+32
2020-09-22Test removing unstable default parameterAvi Dessauer-0/+14
2020-09-22Test unstable Alloc param on BoxAvi Dessauer-2/+50
2020-09-22Add unstable default feature enabled testAvi Dessauer-28/+38
2020-09-22Add test case demonstrating leakAvi Dessauer-22/+24
2020-09-22Test stability on default parameter of deprecatedAvi Dessauer-1/+170
2020-09-22Add more testsAvi Dessauer-1/+73
2020-09-22Fix testsAvi Dessauer-6/+6
2020-09-22Unstable default types leak in public fieldsAvi Dessauer-7/+11
2020-09-22Comment out broken testsAvi Dessauer-9/+33
2020-09-22Uncomment struct testsAvi Dessauer-27/+27
2020-09-22ignore-tidy-linelength generic default stab testAvi Dessauer-0/+1
Co-authored-by: Tim Diekmann <21277928+TimDiekmann@users.noreply.github.com>
2020-09-22Stability annotations on generic trait parametersAvi Dessauer-0/+127
2020-09-11Improve `ineffective_unstable_trait_impl` error message.Mara Bos-2/+3
2020-09-11Add test for unstable trait impl lint.Mara Bos-0/+38
2020-07-20Parse rustc_deprecated as deprecated attributeMark Rousskov-3/+3
2020-05-02Add long error explanation for E0539unexge-1/+2
2020-04-24Remove redundant `descr`/`descriptive_variant` methods from HIR.Eduard-Mihai Burtescu-2/+2
2020-02-09--bless --compare-mode=nllMatthias Prechtl-2/+2
2020-02-06Forbid using `0` as issue numberYuki Okushi-2/+3
2020-01-30clarify "incorrect issue" errorAndy Russell-4/+6
2019-12-21Require issue = "none" over issue = "0" in unstable attributesRoss MacArthur-12/+12
2019-12-13Require stable/unstable annotations for the constness of all stable ↵Oliver Scherer-8/+7
functions with a `const` modifier
2019-12-13Reuse the `staged_api` feature for `rustc_const_unstable`Oliver Scherer-1/+1
2019-09-28Rollup merge of #64763 - GuillaumeGomez:long-err-explanation-E0734, r=estebankMazdak Farrokhzad-6/+8
Add E0734 and its long explanation Part of https://github.com/rust-lang/rust/issues/61137
2019-09-27Update ui testsGuillaume Gomez-6/+8
2019-09-26Add test for E0543Guillaume Gomez-8/+18
2019-07-09normalize use of backticks in compiler messages for libsyntax/feature_gateSamy Kacimi-2/+2
https://github.com/rust-lang/rust/issues/60532
2019-05-25Reword malformed attribute input diagnosticsEsteban Küber-18/+18
- Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error - Use consistend error message: "malformed `attrname` attribute input" - Provide suggestions when possible - Move note/help to label/suggestion - Use consistent wording "ill-formed" -> "malformed" - Move diagnostic logic out of parser
2019-04-23Update ui testsvarkor-2/+2
2019-04-23Remove unnecessary ignore-tidy-linelengthvarkor-2/+0
2019-04-18hide `--explain` hint if error has no extended infoAndy Russell-3/+2