Skip to content

Conversation

Sawyer47
Copy link
Contributor

This code used to cause an ICE

Closes #11677

This code used to cause an ICE

Closes rust-lang#11677
bors added a commit that referenced this pull request Jun 27, 2014
This code used to cause an ICE

Closes #11677
@bors bors closed this Jun 27, 2014
@bors bors merged commit 5103721 into rust-lang:master Jun 27, 2014
@Sawyer47 Sawyer47 deleted the issue-11677 branch June 27, 2014 15:07
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 10, 2025
…15213)

Turns out that things like `#[attr]return unsafe { func(); }` didn't
work because we weren't checking above attributes on statements, only on
blocks!

fixes rust-lang/rust-clippy#13189

Useful for Rust-For-Linux

changelog:[`undocumented_unsafe_blocks`]: Make sure to propagate
`accept-comment-above-attributes` to **all** statements.
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.

rustc: internal compiler error: Cannot encode inference variable types
3 participants