Uh oh!
There was an error while loading. Please reload this page.
librustc: Forbid & pointers (other than &'static) inside @ boxes. - #7894
Closed
pcwalton wants to merge 3 commits into
Closed
librustc: Forbid & pointers (other than &'static) inside @ boxes.#7894pcwalton wants to merge 3 commits into
& pointers (other than &'static) inside @ boxes.#7894pcwalton wants to merge 3 commits into
Conversation
This will be needed to add `'static` bounds to `@`.
This makes custom borrowing implementations for custom smart pointers sound.
bors added a commit
that referenced
this pull request
Jul 20, 2013
flip1995 pushed a commit
to flip1995/rust
that referenced
this pull request
Nov 23, 2021
…effen Extend author lint changelog: none * Print float and int suffixes * Print labels * Struct field checks * Repeat length expression check * Destructure method calls * Destructure closures
U007D pushed a commit
to U007D/rust-mos
that referenced
this pull request
Aug 21, 2026
7894: generate_function assist: convert arg names to lower snake case r=Veykril a=JoshMcguigan This PR fixes one of the points listed by @TimoFreiberg in rust-lang#3639. Specifically that all generated argument names should be converted to lower snake case. ```rust struct BazBaz; fn foo() { bar$0(BazBaz); // ^ when triggering the assist here, you get the output below } // BEFORE fn bar(BazBaz: BazBaz) ${0:-> ()} { todo!() } // AFTER fn bar(baz_baz: BazBaz) ${0:-> ()} { todo!() } ``` Co-authored-by: Josh Mcguigan <joshmcg88@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
r? @brson