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

Remove obsolete mutability from ast::Ty #11005

Merged
merged 1 commit into from
Dec 17, 2013
Merged

Remove obsolete mutability from ast::Ty #11005

merged 1 commit into from
Dec 17, 2013

Conversation

sanxiyn
Copy link
Member

@sanxiyn sanxiyn commented Dec 16, 2013

There is no ~mut T and [mut T] any more.

bors added a commit that referenced this pull request Dec 17, 2013
There is no `~mut T` and `[mut T]` any more.
@bors bors closed this Dec 17, 2013
@bors bors merged commit 4a13364 into rust-lang:master Dec 17, 2013
@sanxiyn sanxiyn deleted the mut branch December 17, 2013 16:48
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 30, 2023
Check if `if` conditions always evaluate to true in `never_loop`

This fixes the example provided in rust-lang#11004, but it shouldn't be closed as this is still an issue on like
```rust
let x = true;
if x { /* etc */ }`
```
This also makes `clippy_utils::consts::constant` handle `ConstBlock` and `DropTemps`.

changelog: [`never_loop`]: Check if `if` conditions always evaluate to true
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.

3 participants