nxya
a54a66830d
moved note as unspanned note, moved note to the bottom of the msg
2023-07-18 21:53:34 -04:00
nxya
e6e8892051
added links as a note
2023-07-18 09:27:35 -04:00
nxya
f92a9f6808
add links to query documentation for E0391
2023-07-18 09:27:26 -04:00
nxya
bef91ee687
added links as a note
2023-07-18 09:20:25 -04:00
nxya
c429a72db9
add links to query documentation for E0391
2023-07-18 09:20:25 -04:00
Santiago Pastorino
20429af7a3
Replace RPITIT current impl with new strategy that lowers as a GAT
2023-07-08 18:21:34 -03:00
Michael Goulet
858a861fff
Make associated type bounds in supertrait position implied
2023-06-27 18:28:07 +00:00
Santiago Pastorino
d77e55bbb9
Fix return type notation errors with -Zlower-impl-trait-in-trait-to-assoc-ty
2023-06-23 17:34:33 -03:00
许杰友 Jieyou Xu (Joe)
edafbaffb2
Adjust UI tests for unit_bindings
...
- Either explicitly annotate `let x: () = expr;` where `x` has unit
type, or remove the unit binding to leave only `expr;` instead.
- Fix disjoint-capture-in-same-closure test
2023-06-12 20:24:48 +08:00
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