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

Fix bug: Include metdata for tuple struct constructor #11851

Merged
merged 2 commits into from
Jan 28, 2014

Conversation

pnkfelix
Copy link
Member

Fix #10031.

@bors bors closed this Jan 28, 2014
@bors bors merged commit b315aba into rust-lang:master Jan 28, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 16, 2023
…r=flip1995

uninhabited_reference: new lint

Close rust-lang#11851

The lint is implemented on function parameters and return types, as this is the place where the risk of exchanging references to uninhabited types is the highest. Other constructs, such as in a local variable,
would require the use of `unsafe` and will clearly be done on purpose.

changelog: [`uninhabited_reference`]: new lint
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.

Getting "error: mismatched types: expected std::result::Result<(BUG[0u],uint),~str>..."
3 participants