Skip to content

Conversation

alexcrichton
Copy link
Member

Commit messages are a little more descriptive.

The comments have more information as to why this is done, but the basic idea is
that finding an exported trait is actually a fairly difficult problem. The true
answer lies in whether a trait is ever referenced from another exported method,
and right now this kind of analysis doesn't exist, so the conservative answer of
"yes" is always returned to answer whether a trait is exported.

Closes rust-lang#11224
Closes rust-lang#11225
bors added a commit that referenced this pull request Jan 2, 2014
Commit messages are a little more descriptive.
@bors bors closed this Jan 2, 2014
@bors bors merged commit aca1749 into rust-lang:master Jan 2, 2014
@alexcrichton alexcrichton deleted the issue-11225 branch January 3, 2014 18:26
flip1995 pushed a commit to flip1995/rust that referenced this pull request Aug 11, 2023
[`unwrap_used`]: Do not lint unwrapping on `!` or never-like enums

Fixes rust-lang#11245

changelog: [`unwrap_used`]: Do not lint unwrapping on `!` or never-like enums
changelog: [`expect_used`]: Do not lint unwrapping on `!` or never-like enums
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.

2 participants