about summary refs log tree commit diff
path: root/src/test/ui/trait-impl-bound-suggestions.fixed
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-20/+0
2021-03-31give full path of constraint in suggest_constraining_type_paramhi-rustin-1/+1
revert file bless with nll mode
2020-09-13fix syntax error in suggesting generic constraint in trait parameteriximeow-0/+20
suggest `where T: Foo` for the first bound on a trait, then suggest `, T: Foo` when the suggested bound would add to an existing set of `where` clauses. `where T: Foo` may be the first bound if `T` has a default, because we'd rather suggest ``` trait A<T=()> where T: Copy ``` than ``` trait A<T: Copy=()> ``` for legibility reasons.