about summary refs log tree commit diff
path: root/tests/ui/namespace
AgeCommit message (Collapse)AuthorLines
2025-08-22On E0277, point at type that doesn't implement boundEsteban Küber-20/+120
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-10cleaned up some testsKivooeo-3/+10
2025-07-01moved testsKivooeo-0/+7
2025-06-03Use non-2015 edition paths in tests that do not test for their resolutionLukas Wirth-2/+2
This allows for testing these tests on editions other than 2015
2025-04-27bless testsWaffle Lapkin-4/+0
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-4/+4
2025-02-14Consider add-prefix replacements tooMichael Goulet-12/+8
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-8/+12
``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ```
2024-06-13Tweak output of import suggestionsEsteban Küber-4/+4
When both `std::` and `core::` items are available, only suggest the `std::` ones. We ensure that in `no_std` crates we suggest `core::` items. Ensure that the list of items suggested to be imported are always in the order of local crate items, `std`/`core` items and finally foreign crate items. Tweak wording of import suggestion: if there are multiple items but they are all of the same kind, we use the kind name and not the generic "items". Fix #83564.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-09-10Point out if a local trait has no implementationsMichael Goulet-0/+220
2023-04-12Special-case item attributes in the suggestion outputEsteban Küber-8/+0
2023-04-12Tweak output for 'add line' suggestionEsteban Küber-8/+16
2023-01-11Move /src/test to /testsAlbert Larsan-0/+1053