Skip to content

Fix issue #6141: leaking ~fn - #6302

Closed
nikomatsakis wants to merge 1 commit into
rust-lang:incomingfrom
nikomatsakis:issue-6141-leaking-owned-fn
Closed

Fix issue #6141: leaking ~fn#6302
nikomatsakis wants to merge 1 commit into
rust-lang:incomingfrom
nikomatsakis:issue-6141-leaking-owned-fn

Conversation

@nikomatsakis

Copy link
Copy Markdown
Contributor

When autoborrowing a fn in trans, adjust the type of the datum to be &fn.

Fixes#6141.

r? @brson

bors added a commit that referenced this pull request May 8, 2013
…r=brson
When autoborrowing a fn in trans, adjust the type of the datum to be `&fn`.
Fixes#6141.
r? @brson
@borsbors closed this May 8, 2013
@nikomatsakis
nikomatsakis deleted the issue-6141-leaking-owned-fn branch March 30, 2016 16:15
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 20, 2020
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 20, 2020
FROM_ITER_INSTEAD_OF_COLLECT: avoid unwrapping unconditionally
Fixesrust-lang#6302
changelog: fix unwrap of None when checking libcore with clippy
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6302: Textmate grammar: fix raw string highlighting r=matklad a=dustypomerleau
1. Fixes the raw string highlighting issue noted by @matklad in rust-lang/rust-analyzer#6275.
2. Improves raw string highlighting by requiring the number of surrounding `#` to match.
Co-authored-by: Dusty Pomerleau <dustypomerleau@users.noreply.github.com>
Sign up for freeto 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

@nikomatsakis@brson@bors