Skip to content
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

testsuite: Two tests for fixed bugs #9733

Closed

Conversation

catamorphism
Copy link
Contributor

r? anybody Closes #7246
Closes #7573

@catamorphism
Copy link
Contributor Author

@alexcrichton Any guesses as to what's going on here? The only non-test change I made was to the unreachable code lint...

@alexcrichton
Copy link
Member

Looks like it error'd out before reaching the lint pass so the lint warnings wasn't printed just yet. I think it's safe to just remove the warning expectation from the test about unreachable code.

@catamorphism
Copy link
Contributor Author

@alexcrichton Ah, ok. Didn't occur to me that that lint change could have caused another test to fail, but of course. facepalm

bors added a commit that referenced this pull request Oct 6, 2013
@bors bors closed this Oct 6, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 21, 2022
Ensure new_ret_no_self is not fired if impl Trait<Self> is returned.

Fix rust-lang#7344: ensure new_ret_no_self is not fired if `impl Trait<Self>` is returned.

changelog: [`new_ret_no_self`]: No longer lints when `impl Trait<Self>` is returned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segfault with iterators and vector of borrowed structs Unreachable *bool read causes ICE
3 participants