about summary refs log tree commit diff
path: root/tests/ui/traits/default_auto_traits
AgeCommit message (Collapse)AuthorLines
2025-09-10Permit `more_maybe_bounds` in supertraits and trait objects onlyBryanskiy-10/+7
2025-09-10Default auto traits: revert to the default supertraitsBryanskiy-197/+138
2025-08-22On E0277, point at type that doesn't implement boundEsteban Küber-5/+30
When encountering an unmet trait bound, point at local type that doesn't implement the trait: ``` error[E0277]: the trait bound `Bar<T>: Foo` is not satisfied --> $DIR/issue-64855.rs:9:19 | LL | pub struct Bar<T>(<Self as Foo>::Type) where Self: ; | ^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound | help: the trait `Foo` is not implemented for `Bar<T>` --> $DIR/issue-64855.rs:9:1 | LL | pub struct Bar<T>(<Self as Foo>::Type) where Self: ; | ^^^^^^^^^^^^^^^^^ ```
2025-07-18HIR ty lowering: Validate relaxed bounds in trait object typesLeón Orell Valerian Liehr-2/+27
Only relevant to the internal feature `more_maybe_bounds`.
2025-06-16tests: `PointeeSized` bounds with extern typesDavid Wood-3/+3
These tests necessarily need to change now that `?Sized` is not sufficient to accept extern types and `PointeeSized` is now necessary. In addition, the `size_of_val`/`align_of_val` test can now be changed to expect an error.
2025-06-16tests: `{Meta,Pointee}Sized` in non-minicore testsDavid Wood-25/+55
As before, add `MetaSized` and `PointeeSized` traits to all of the non-minicore `no_core` tests so that they don't fail for lack of language items.
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-1/+1
2025-04-03Initial support for auto traits with default boundsBryanskiy-0/+450