about summary refs log tree commit diff
path: root/tests/ui/specialization/defaultimpl
AgeCommit message (Collapse)AuthorLines
2025-08-11Tweak trait modifier errorsCameron Steffen-3/+3
2025-06-30Unconditionally run `check_item_type` on all itemsOli Scherer-8/+8
2025-03-04Ensure that negative auto impls are always applicableMichael Goulet-20/+23
2024-12-07Use trait name instead of full constraint in suggestion messageEsteban Küber-1/+1
``` help: consider restricting type parameter `T` with traits `Copy` and `Trait` | LL | fn duplicate_custom<T: Copy + Trait>(t: S<T>) -> (S<T>, S<T>) { | ++++++++++++++ ``` ``` help: consider restricting type parameter `V` with trait `Copy` | LL | fn index<'a, K, V: std::marker::Copy>(map: &'a HashMap<K, V>, k: K) -> &'a V { | +++++++++++++++++++ ```
2024-12-07reword trait bound suggestion message to include the boundsEsteban Küber-1/+1
2024-10-15stabilize `-Znext-solver=coherence`lcnr-1/+2
2024-09-11Revert 'Stabilize -Znext-solver=coherence'Michael Goulet-2/+1
2024-09-05stabilize `-Znext-solver=coherence`lcnr-1/+2
2024-03-18Provide structured suggestion for `#![feature(foo)]`Esteban Küber-1/+4
``` 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-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-6/+6
2024-02-13Do not assemble candidates for default implsMichael Goulet-21/+22
2024-02-07Update testsr0cky-2/+2
2024-01-26Use single label for method not found due to unmet boundEsteban Küber-4/+1
2024-01-13Bless testsGeorge-lewis-0/+1
Update tests
2023-11-24Show number in error message even for one errorNilstrieb-4/+4
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-02-14Fetch less HIR in signature check.Camille GILLOT-5/+5
2023-01-11Move /src/test to /testsAlbert Larsan-0/+638