-
Notifications
You must be signed in to change notification settings - Fork 14k
Tidying up UI tests [4/N] #149367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tidying up UI tests [4/N] #149367
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| //! Regression test for <https://github.com/rust-lang/rust/issues/118772> | ||
|
|
||
| fn main(_: &i32) { //~ ERROR `main` function has wrong type | ||
| println!("Hello, world!"); | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| //! Regression test for <https://github.com/rust-lang/rust/issues/51022> | ||
|
|
||
| fn main<'a>() {} | ||
| //~^ ERROR `main` function is not allowed to have generic parameters [E0131] |
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I deleted it because I thought it was the same as
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I agree with this |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| //! Regression test for <https://github.com/rust-lang/rust/issues/50688> | ||
| fn main() { | ||
| [1; || {}]; //~ ERROR mismatched types | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo in filename "signiture"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh I missed! thanks