Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1a53f70

Browse files
committedFeb 6, 2024
Stabilize associated type position impl Trait (ATPIT)
1 parent f3b9d47 commit 1a53f70

File tree

130 files changed

+127
-347
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+127
-347
lines changed
 

‎tests/ui/impl-trait/issue-55872-2.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// edition:2018
22

3-
#![feature(impl_trait_in_assoc_type)]
4-
53
pub trait Bar {
64
type E: Send;
75

‎tests/ui/impl-trait/issue-55872-2.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
2-
--> $DIR/issue-55872-2.rs:14:9
2+
--> $DIR/issue-55872-2.rs:12:9
33
|
44
LL | async {}
55
| ^^^^^^^^
66

77
error: type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias
8-
--> $DIR/issue-55872-2.rs:14:9
8+
--> $DIR/issue-55872-2.rs:12:9
99
|
1010
LL | async {}
1111
| ^^^^^^^^

‎tests/ui/impl-trait/issue-55872-3.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// edition:2018
22

3-
#![feature(impl_trait_in_assoc_type)]
4-
53
pub trait Bar {
64
type E: Copy;
75

There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.