Skip to content

Conversation

@nikomatsakis
Copy link
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
@bors bors 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 Fixes rust-lang#6302 changelog: fix unwrap of None when checking libcore with clippy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants