Skip to content

Enable deprecation lint on crate-local items#16433

Closed
aturon wants to merge 4 commits intorust-lang:masterfrom
aturon:deprecated-in-crate
Closed

Enable deprecation lint on crate-local items#16433
aturon wants to merge 4 commits intorust-lang:masterfrom
aturon:deprecated-in-crate

Conversation

@aturon
Copy link
Contributor

@aturon aturon commented Aug 12, 2014

Previously the stability lint considered cross-crate items only. That's appropriate for unstable and experimental levels, but not for deprecation.

In addition to changing the lint, this PR takes care of the fallout: a number of deprecated items that were being used throughout libstd.

Closes #16409

Due to deny(deprecated), this is a:

[breaking-change]

aturon added 4 commits August 12, 2014 13:07
Previously the lint considered cross-crate items only. That's
appropriate for unstable and experimental levels, but not for
deprecation.

Closes rust-lang#16409

Due to deny(deprecation), this is a:

[breaking-change]
bors added a commit that referenced this pull request Aug 12, 2014
Previously the stability lint considered cross-crate items only. That's appropriate for unstable and experimental levels, but not for deprecation.

In addition to changing the lint, this PR takes care of the fallout: a number of deprecated items that were being used throughout libstd.

Closes #16409

Due to deny(deprecated), this is a:

[breaking-change]
@bors bors closed this Aug 12, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 12, 2026
Adds a trailing comma to struct patterns ending with `..`.
Fixes rust-lang#16433
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.

#[deprecated] does not work for in-crate usages of items

2 participants