forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ba7436
commit ee98dc8
Showing
3 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#[derive(Clone, Copy)] | ||
//~^ ERROR the trait `Copy` may not be implemented for this type | ||
//~| ERROR `i32` is not an iterator | ||
struct Foo(N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String); | ||
//~^ ERROR cannot find type `NotDefined` in this scope | ||
//~| ERROR cannot find type `NotDefined` in this scope | ||
//~| ERROR cannot find type `N` in this scope | ||
//~| ERROR cannot find type `N` in this scope | ||
//~| ERROR `i32` is not an iterator | ||
|
||
#[derive(Clone, Copy)] | ||
//~^ ERROR the trait `Copy` may not be implemented for this type | ||
//~| ERROR `i32` is not an iterator | ||
struct Bar<T>(T, N, NotDefined, <i32 as Iterator>::Item, Vec<i32>, String); | ||
//~^ ERROR cannot find type `NotDefined` in this scope | ||
//~| ERROR cannot find type `N` in this scope | ||
//~| ERROR `i32` is not an iterator | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters