about summary refs log tree commit diff
path: root/tests/ui/specialization/const_trait_impl.stderr
AgeCommit message (Collapse)AuthorLines
2025-07-17parse `const trait Trait`Deadbeef-12/+12
2025-07-07Make `Default` const and add some `const Default` implsEsteban Küber-30/+30
Full list of `impl const Default` types: - () - bool - char - Cell - std::ascii::Char - usize - u8 - u16 - u32 - u64 - u128 - i8 - i16 - i32 - i64 - i128 - f16 - f32 - f64 - f128 - std::marker::PhantomData<T> - Option<T> - std::iter::Empty<T> - std::ptr::Alignment - &[T] - &mut [T] - &str - &mut str - String - Vec<T>
2025-06-29Fix the span of trait bound modifier `[const]`León Orell Valerian Liehr-12/+12
2025-06-26Change const trait bound syntax from ~const to [const]Oli Scherer-30/+30
2024-12-10Tweak wording of non-const traits used as const boundsEsteban Küber-6/+21
Use verbose suggestions and add additional labels/notes. Add more test cases for stable/nightly and feature enabled/disabled.
2024-11-03Gate checking ~const bounds on const_trait_implMichael Goulet-50/+1
2024-10-26Pass constness with span into lower_poly_trait_refMichael Goulet-12/+12
2024-10-24Implement const effect predicate in new solverMichael Goulet-45/+17
2024-08-10Differentiate between methods and associated functionsEsteban Küber-5/+5
Accurately refer to assoc fn without receiver as assoc fn instead of methods. Add `AssocItem::descr` method to centralize where we call methods and associated functions.
2024-06-28bless tests part 1Deadbeef-2/+66
2024-03-18Provide structured suggestion for `#![feature(foo)]`Esteban Küber-3/+12
``` error: `S2<'_>` is forbidden as the type of a const generic parameter --> $DIR/lifetime-in-const-param.rs:5:23 | LL | struct S<'a, const N: S2>(&'a ()); | ^^ | = note: the only supported types are integers, `bool` and `char` help: add `#![feature(adt_const_params)]` to the crate attributes to enable more complex and user defined types | LL + #![feature(adt_const_params)] | ``` Fix #55941.
2024-02-08Continue to borrowck even if there were previous errorsOli Scherer-1/+29
2023-12-27Introduce `const Trait` (always-const trait bounds)León Orell Valerian Liehr-3/+3
2023-04-16fix library and rustdoc testsDeadbeef-0/+20