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

Reduce the aggressiveness of reachability #10217

Merged
merged 1 commit into from
Nov 2, 2013

Conversation

alexcrichton
Copy link
Member

Previously, all functions called by a reachable function were considered
reachable, but this is only the case if the original function was possibly
inlineable (if it's type generic or #[inline]-flagged).

Previously, all functions called by a reachable function were considered
reachable, but this is only the case if the original function was possibly
inlineable (if it's type generic or #[inline]-flagged).
bors added a commit that referenced this pull request Nov 2, 2013
Previously, all functions called by a reachable function were considered
reachable, but this is only the case if the original function was possibly
inlineable (if it's type generic or #[inline]-flagged).
@bors bors closed this Nov 2, 2013
@bors bors merged commit 681fda0 into rust-lang:master Nov 2, 2013
@alexcrichton alexcrichton deleted the less-reachable branch November 4, 2013 08:00
Jarcho pushed a commit to Jarcho/rust that referenced this pull request Aug 24, 2024
…_unwrap, r=llogiq

Clarify suggestion message for unwrap lint

Close rust-lang#10217
As mentioned at rust-lang#10217 message for `unwrap` uses `..` like `Some(..)` which can confuse with slice and other places mostly use `<item>` like `for (i, <item>) in target_groups_json.iter().enumerate().skip(1) {` So replace  `..` to `<item>`

changelog: [`unnecessary_unwrap`] clarify suggestion message
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