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

Issue 5967 rvalue immutability #6473

Conversation

nikomatsakis
Copy link
Contributor

Simpler version of PR #5974 based on new borrowck.

cmt: mc::cmt) -> bool {
//! We can omit the root on an `@T` value if the location
//! that holds the box is either (1) an rvalue, in which case
//! is is in a non-user-accessible temporary, or (2) an immutable
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: it is*

@nikomatsakis
Copy link
Contributor Author

r? @brson

bors added a commit that referenced this pull request May 16, 2013
…y, r=pcwalton

Simpler version of PR #5974 based on new borrowck.
@bors bors closed this May 16, 2013
@nikomatsakis nikomatsakis deleted the issue-5967-rvalue-immutability branch March 30, 2016 16:15
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 20, 2020
UI Tests: Separate suspicious_else_formatting tests

Was briefly looking into rust-lang/rust-clippy#3864 when I saw that the tests could benefit from being in their own file.

---
changelog: none
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.

4 participants