mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 18:04:13 +00:00
Fix rebase
This commit is contained in:
parent
3deb75729e
commit
6389f35ef9
@ -8,7 +8,7 @@ error[E0277]: the trait bound `i32: std::iter::Iterator` is not satisfied
|
||||
--> $DIR/issue-50480.rs:13:24
|
||||
|
|
||||
LL | struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ `i32` is not an iterator; maybe try calling `.iter()` or a similar method
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^ `i32` is not an iterator; maybe try calling `.iter()` or a similar method
|
||||
|
|
||||
= help: the trait `std::iter::Iterator` is not implemented for `i32`
|
||||
|
||||
@ -19,7 +19,7 @@ LL | #[derive(Clone, Copy)]
|
||||
| ^^^^
|
||||
LL | //~^ ERROR the trait `Copy` may not be implemented for this type
|
||||
LL | struct Foo(NotDefined, <i32 as Iterator>::Item, Vec<i32>, String);
|
||||
| --------- ------- this field does not implement `Copy`
|
||||
| -------- ------ this field does not implement `Copy`
|
||||
| |
|
||||
| this field does not implement `Copy`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user