Michael Goulet
20a83144b2
Support RTN on associated methods from supertraits
2023-05-03 19:41:15 +00:00
Dylan DPC
2e3373c231
Rollup merge of #111048 - compiler-errors:rpitit-not-incomplete, r=jackh726
...
Mark`feature(return_position_impl_trait_in_trait)` and`feature(async_fn_in_trait)` as not incomplete
I think they've graduated, since as far as I'm aware, they don't cause compiler crashes or unsoundness anymore.
2023-05-02 11:44:53 +05:30
Michael Goulet
7411468ff8
Mark RPITIT and AFIT as no longer incomplete
2023-05-02 05:04:50 +00:00
Michael Goulet
bec7193072
Don't use implied trait predicates in gather_explicit_predicates_of
2023-05-01 15:45:28 +00:00
Michael Goulet
8ea71f264e
Do not consider associated type bounds for super_predicates_that_define_assoc_type
2023-05-01 15:45:28 +00:00
Matthias Krüger
a34bcd70b2
Rollup merge of #110203 - compiler-errors:rtn-dots, r=eholk
...
Remove `..` from return type notation
`@nikomatsakis` and I decided that using `..` in the return-type notation syntax is probably overkill.
r? `@eholk` since you reviewed the last one
Since this is piggybacking now totally off of a pre-existing syntax (parenthesized generics), let me know if you need any explanation of the logic here, since it's a bit more complicated now.
2023-04-12 20:56:22 +02:00
Michael Goulet
25c342f30a
Split implied and super predicate queries
2023-04-11 17:45:42 +00:00
Michael Goulet
24cbf81b85
Remove ..
from return type notation
2023-04-10 22:19:46 +00:00
Yuki Okushi
271ac7b528
Add regression test for #104916
...
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2023-04-11 00:01:53 +09:00
Michael Goulet
ab0b9356e6
Emit feature error for parenthesized generics in associated type bounds
2023-04-03 21:20:48 +00:00
Michael Goulet
8b592db27a
Add (..)
syntax for RTN
2023-03-28 01:14:28 +00:00
Michael Goulet
104aacb49f
Add tests and error messages
2023-03-28 01:02:15 +00:00
Michael Goulet
b14eb0c497
pluralize stuff
2023-02-22 21:52:26 +00:00
Michael Goulet
deb135748d
Suppress duplicated errors for associated type bounds in object types
2023-02-22 21:52:26 +00:00
Michael Goulet
e7c490892f
Move associated type bounds check to ast lowering
...
This makes the check for when associated type bounds more accurate
2023-02-22 20:18:14 +00:00
Esteban Küber
30cf7a3f51
Introduce ReError
...
CC #69314
2023-02-09 10:26:49 +00:00
Esteban Küber
ab8dc9a0ad
Hide lifetimes of impl Trait
in force trimmed paths
2023-01-30 20:12:21 +00:00
Esteban Küber
252c43b42b
Do not mention lifetime names in force trimmed paths
2023-01-30 20:12:21 +00:00
Esteban Küber
62ba3e70a1
Modify primary span label for E0308
...
The previous output was unintuitive to users.
2023-01-30 20:12:19 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00