about summary refs log tree commit diff
path: root/src/test/ui/stability-attribute/missing-const-stability.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-33/+0
2022-09-16bless testsDeadbeef-0/+1
2022-05-19Proper const stability check, default to unstableJacob Pratt-4/+10
Rather than deferring to const eval for checking if a trait is const, we now check up-front. This allows the error to be emitted earlier, notably at the same time as other stability checks. Also included in this commit is a change of the default const stability level to UNstable. Previously, an item that was `const` but did not explicitly state it was unstable was implicitly stable.
2022-02-03Add missing const stability attributesJacob Pratt-5/+7
2022-02-03Require const stability on all stable const itemsJacob Pratt-6/+18
This was supposed to be the case previously, but a missed method call meant that trait impls were not checked.
2020-09-25Test for missing const-stability attributesDylan MacKenzie-0/+12