about summary refs log tree commit diff
path: root/tests/rustdoc-ui/invalid_associated_const.stderr
AgeCommit message (Collapse)AuthorLines
2024-07-17Fix associated item removal suggestionEsteban Küber-4/+6
We were previously telling people to write what was already there, instead of removal. ``` error[E0229]: associated item constraints are not allowed here --> $DIR/E0229.rs:13:25 | LL | fn baz<I>(x: &<I as Foo<A = Bar>>::A) {} | ^^^^^^^ associated item constraint not allowed here | help: consider removing this associated item binding | LL - fn baz<I>(x: &<I as Foo<A = Bar>>::A) {} LL + fn baz<I>(x: &<I as Foo>::A) {} | ```
2024-05-30Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanupLeón Orell Valerian Liehr-6/+6
2024-04-16Emit suggestions when equality constraints are wrongly usedGurinder Singh-0/+9
2024-03-20Bless test fallout (duplicate diagnostics)Michael Goulet-1/+9
2023-11-24Bless rustdoc-ui testsNilstrieb-1/+1
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-03-30rustdoc: run more HIR validation to mirror rustcPatrik Kårlin-0/+9