rust/tests/ui/trait-bounds
Michael Howell 31e5dd3a79 diagnostics: add test case for trait bounds diagnostic
Closes #82038

It was fixed by b8e5ab20ed, a wide-reaching
obligation tracking improvement. This commit adds a test case.
2023-09-07 11:36:23 -07:00
..
apit-unsized.rs
apit-unsized.stderr
enum-unit-variant-trait-bound.rs
enum-unit-variant-trait-bound.stderr
impl-bound-with-references-error.rs
impl-bound-with-references-error.stderr
impl-derived-implicit-sized-bound-2.rs
impl-derived-implicit-sized-bound-2.stderr
impl-derived-implicit-sized-bound.rs
impl-derived-implicit-sized-bound.stderr
impl-missing-where-clause-lifetimes-from-trait.rs
impl-missing-where-clause-lifetimes-from-trait.stderr
issue-75961.rs
issue-82038.rs
issue-82038.stderr
issue-93008.rs
issue-94680.rs
issue-94999.rs
issue-95640.rs
mismatch-fn-trait.rs
mismatch-fn-trait.stderr
shadowed-path-in-trait-bound-suggestion.fixed
shadowed-path-in-trait-bound-suggestion.rs
shadowed-path-in-trait-bound-suggestion.stderr
unsized-bound.rs
unsized-bound.stderr