Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00
Michael Goulet
2762d62990
Be more specific for what lifetimes are not allowed on
2022-06-19 18:08:29 -07:00
klensy
0ff8ae3111
diagnostics: fix trailing space
2022-06-16 14:40:28 +03:00
Esteban Küber
cd8cfbfb09
review comments
2022-06-02 15:29:20 -07:00
Esteban Küber
ad63f907e9
Make output more specific
2022-06-01 17:46:55 -07:00
Esteban Küber
196a30ebff
Fix typo
2022-06-01 13:04:35 -07:00
Esteban Küber
532671b8ee
More accurately handle suggestions
...
* Confirm the path segment being modified is an `enum`
* Check whether type has type param before suggesting changing `Self`
* Wording changes
* Add clarifying comments
* Suggest removing args from `Self` if the type doesn't have type params
2022-06-01 10:41:50 -07:00
Esteban Küber
9b2d80a197
Provide more context when denying invalid type params
2022-06-01 10:41:50 -07:00
Dmitry Kadashev
4e10b75951
Update tests
...
Update the tests to reflect changes to how type mismatch errors are
reported (two previous commits).
2019-11-02 13:23:28 +07:00
Matthew Jasper
2f6babbc6d
Remove is_self
and has_self_ty
methods
2019-08-11 15:00:42 +01:00
Andy Russell
b6f148c8bd
hide --explain
hint if error has no extended info
2019-04-18 13:29:28 -04:00
varkor
aff175b328
Update tests
2019-03-20 18:32:52 +00:00
Vadim Petrochenkov
fa72a81bea
Update tests
2019-03-11 23:10:26 +03:00
Alexander Regueiro
8eb1a9e4e7
Added regression test for using generic parameters on modules.
2018-12-26 21:54:18 +00:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
David Wood
3fc7ab2373
Merged migrated compile-fail tests and ui tests. Fixes #46841 .
2018-08-14 11:12:09 +02:00