about summary refs log tree commit diff
path: root/tests/ui/traits/alias
AgeCommit message (Collapse)AuthorLines
2023-11-24Show number in error message even for one errorNilstrieb-10/+10
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-30Detect object safety errors when assoc type is missingEsteban Küber-1/+1
When an associated type with GATs isn't specified in a `dyn Trait`, emit an object safety error instead of only complaining about the missing associated type, as it will lead the user down a path of three different errors before letting them know that what they were trying to do is impossible to begin with. Fix #103155.
2023-08-28Revert "Suggest using `Arc` on `!Send`/`!Sync` types"David Tolnay-2/+0
This reverts commit 9de1a472b68ed85f396b2e2cc79c3ef17584d6e1.
2023-08-09Suggest using `Arc` on `!Send`/`!Sync` typesEsteban Kuber-0/+2
2023-04-11Allow the elaborator to only filter to real supertraitsMichael Goulet-0/+20
2023-04-11Broken testsMichael Goulet-0/+10
2023-02-22diagnostics: update test cases to refer to assoc fn with `self` as methodMichael Howell-2/+2
2023-02-16Do not ICE on unmet trait alias impl boundsAlan Egerton-0/+40
2023-02-16Rollup merge of #108115 - eggyal:unmet_trait_alias_bound, r=compiler-errorsMatthias Krüger-0/+30
Do not ICE on unmet trait alias bounds Rework of #108093 following feedback on that PR. Fixes #108072 r? `@compiler-errors`
2023-02-16Do not ICE on unmet trait alias boundsAlan Egerton-0/+30
2023-02-16Remove save-analysis.Nicholas Nethercote-5/+1
Most tests involving save-analysis were removed, but I kept a few where the `-Zsave-analysis` was an add-on to the main thing being tested, rather than the main thing being tested. For `x.py install`, the `rust-analysis` target has been removed. For `x.py dist`, the `rust-analysis` target has been kept in a degenerate form: it just produces a single file `reduced.json` indicating that save-analysis has been removed. This is necessary for rustup to keep working. Closes #43606.
2023-02-08Do not assemble supertraits for trait aliasesAlan Egerton-0/+21
2023-01-27Add regression test for #60755Yuki Okushi-0/+12
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-01-11Move /src/test to /testsAlbert Larsan-0/+2122