about summary refs log tree commit diff
path: root/tests/ui/const-generics/infer
AgeCommit message (Collapse)AuthorLines
2025-07-07Point to correct argument in Func Call when Self type fails trait boundxizheyin-1/+1
When a trait bound fails due to the Self type parameter, adjust_fulfillment_errors now correctly points to the corresponding function argument instead of incorrectly pointing to other arguments. Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2024-10-14`rt::Argument`: elide lifetimesLieselotte-1/+1
2024-06-19Const generic parameters aren't bounds, even if we end up erroring because ↵Oli Scherer-12/+12
of the bound that binds the parameter's type
2024-06-19Taint infcx when reporting errorsOli Scherer-14/+75
2023-11-24Show number in error message even for one errorNilstrieb-5/+5
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-02-22diagnostics: update test cases to refer to assoc fn with `self` as methodMichael Howell-2/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+129