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 53c5310

Browse files
committedOct 17, 2023
More work
1 parent 729ee29 commit 53c5310

File tree

61 files changed

+184
-163
lines changed

Some content is hidden

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

61 files changed

+184
-163
lines changed
 

‎tests/ui/traits/non_lifetime_binders/bad-copy-cond.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
warning: the feature `non_lifetime_binders` is incomplete and may not be safe to use and/or cause compiler crashes
2-
--> $DIR/bad-copy-cond.rs:1:12
2+
--> $DIR/bad-copy-cond.rs:3:12
33
|
44
LL | #![feature(non_lifetime_binders)]
55
| ^^^^^^^^^^^^^^^^^^^^
@@ -8,13 +8,13 @@ LL | #![feature(non_lifetime_binders)]
88
= note: `#[warn(incomplete_features)]` on by default
99

1010
error[E0277]: the trait bound `T: Copy` is not satisfied
11-
--> $DIR/bad-copy-cond.rs:7:5
11+
--> $DIR/bad-copy-cond.rs:9:5
1212
|
1313
LL | foo();
1414
| ^^^ the trait `Copy` is not implemented for `T`
1515
|
1616
note: required by a bound in `foo`
17-
--> $DIR/bad-copy-cond.rs:4:26
17+
--> $DIR/bad-copy-cond.rs:6:26
1818
|
1919
LL | fn foo() where for<T> T: Copy {}
2020
| ^^^^ required by this bound in `foo`

‎tests/ui/traits/non_lifetime_binders/bad-sized-cond.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// compile-flags: -Ztrait-solver=next
2+
13
#![feature(non_lifetime_binders)]
24
//~^ WARN is incomplete and may not be safe
35

@@ -15,9 +17,7 @@ where
1517

1618
fn main() {
1719
foo();
18-
//~^ ERROR the size for values of type `V` cannot be known at compilation time
1920

2021
bar();
21-
//~^ ERROR the size for values of type `V` cannot be known at compilation time
22-
//~| ERROR `V` is not an iterator
22+
//~^ ERROR the trait bound `V: IntoIterator` is not satisfied
2323
}
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.