Commit Graph

13 Commits

Author SHA1 Message Date
Camille GILLOT
a2fe9935ea Only warn single-use lifetime when the binders match. 2023-05-10 19:49:02 +00:00
León Orell Valerian Liehr
46ec348611 IAT: Add a few regression tests 2023-05-04 16:59:10 +02:00
León Orell Valerian Liehr
e8139dfd5a IAT: Introduce AliasKind::Inherent 2023-05-04 16:59:10 +02:00
León Orell Valerian Liehr
2f354482b8 Add regression tests for const-generic IATs 2023-04-25 23:32:13 +02:00
Oli Scherer
e18d1f8d2e Leave it to the query system to invoke the typeck query instead of invoking it eagerly.
Later queries that are run on all body owners will invoke typeck as they need information from its result to perform their own logic
2023-04-21 22:12:45 +00:00
León Orell Valerian Liehr
293f21c876 iat selection: erase regions in self type 2023-03-21 23:53:58 +01:00
León Orell Valerian Liehr
00b976a138 Collect fulfillment errors across impls 2023-02-19 22:54:08 +01:00
León Orell Valerian Liehr
6eb6455c46 Add a test and several known bugs 2023-02-19 18:35:36 +01:00
León Orell Valerian Liehr
77ea90ec71 Fix substitution bug 2023-02-19 18:35:35 +01:00
León Orell Valerian Liehr
6065867a7e Use InferCtxt::probe to properly detect ambiguous candidates 2023-02-19 18:35:35 +01:00
León Orell Valerian Liehr
aa7edf7073 Use the correct ParamEnv 2023-02-19 18:35:34 +01:00
León Orell Valerian Liehr
488d0c9efd Type-directed probing for inherent associated types 2023-02-19 18:35:28 +01:00
Albert Larsan
cf2dff2b1e Move /src/test to /tests 2023-01-11 09:32:08 +00:00