xizheyin
796b4d1fb4
Point to correct argument in Func Call when Self type fails trait bound
...
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 >
2025-07-07 16:47:15 +08:00
Lieselotte
1364631584
rt::Argument: elide lifetimes
2024-10-14 20:24:30 +02:00
Oli Scherer
e4c9a8cf9b
Const generic parameters aren't bounds, even if we end up erroring because of the bound that binds the parameter's type
2024-06-19 14:58:29 +00:00
Oli Scherer
3594a19f2a
Taint infcx when reporting errors
2024-06-19 04:41:56 +00:00
Nilstrieb
41e8d152dc
Show number in error message even for one error
...
Co-authored-by: Adrian <adrian.iosdev@gmail.com >
2023-11-24 19:15:52 +01:00
Michael Howell
3f374128ee
diagnostics: update test cases to refer to assoc fn with self as method
2023-02-22 08:40:47 -07:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00