about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-18 22:24:39 +0100
committerGitHub <noreply@github.com>2024-03-18 22:24:39 +0100
commite5b9a42e379ff023bd55c237a89ace2f1248e940 (patch)
tree992ddb21e6559db01d9b412aa8df2ba45e24ddc8 /compiler/rustc_pattern_analysis/src
parent223c23c63fba94b77a460fef84f48d86b7247888 (diff)
parentd7b4b0191161878245ae93084e4fa3b7c4775ce6 (diff)
downloadrust-e5b9a42e379ff023bd55c237a89ace2f1248e940.tar.gz
rust-e5b9a42e379ff023bd55c237a89ace2f1248e940.zip
Rollup merge of #122675 - tmfink:doc-clarify, r=scottmcm
core: document default attribute stabilization

As of now, the first release which stabilized the `#[default]` macro for the deriving the `Default` trait for enus is not documented.
I have had to search the [`RELEASES.md`](https://github.com/rust-lang/rust/blob/master/RELEASES.md) when making sure my code would be accepted by an older Rust compiler.

I just added a line in the doc comment since, as far as I know, there's no option to pass to the `#[stable()]` attribute.

I am open to improvements in the wording.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions