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

test: single-variant enum can't be dereferenced #12529

Closed
wants to merge 1 commit into from

Conversation

flaper87
Copy link
Contributor

Closes #9814

@bors bors closed this in 4243cad Feb 25, 2014
@flaper87 flaper87 deleted the issue-9814 branch March 11, 2014 09:16
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 25, 2022
fix: Ask the user to reload the vscode window when changing server settings

These requires a window reload, as they are set before the server is being started
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 4, 2024
Do not warn on .map(_::clone) for Arc, Rc, and their weak variants

Those constructions are idiomatic, and using `Arc::clone(x)` and `Rc::clone(x)` is often the recommended way of cloning a `Arc` or a `Rc`.

Fix rust-lang#12528

changelog: [`map_clone`]: do not warn on `.map(_::clone)` for `Arc`, `Rc`, and their `Weak` variants
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.

dereferencing a single-variant enum allowed in typeck, hits LLVM assert in trans
2 participants