diff options
| author | Lukas Markeffsky <@> | 2024-09-24 20:17:52 +0200 |
|---|---|---|
| committer | Lukas Markeffsky <@> | 2024-09-24 20:18:36 +0200 |
| commit | 2fdeb3b8f4cb91eb545880cc0b5db003ef4869b7 (patch) | |
| tree | 374fdc678ba3025955abc4284b4c5bc47da34381 /compiler/rustc_attr | |
| parent | 67bb749c2e1cf503fee64842963dd3e72a417a3f (diff) | |
| download | rust-2fdeb3b8f4cb91eb545880cc0b5db003ef4869b7.tar.gz rust-2fdeb3b8f4cb91eb545880cc0b5db003ef4869b7.zip | |
rustdoc: inherit parent's stability where applicable
Diffstat (limited to 'compiler/rustc_attr')
| -rw-r--r-- | compiler/rustc_attr/src/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_attr/src/builtin.rs b/compiler/rustc_attr/src/builtin.rs index dcc4cf2478f..762ebc47ca9 100644 --- a/compiler/rustc_attr/src/builtin.rs +++ b/compiler/rustc_attr/src/builtin.rs @@ -153,7 +153,7 @@ pub enum StabilityLevel { } /// Rust release in which a feature is stabilized. -#[derive(Encodable, Decodable, PartialEq, Copy, Clone, Debug, Eq, Hash)] +#[derive(Encodable, Decodable, PartialEq, Copy, Clone, Debug, Eq, PartialOrd, Ord, Hash)] #[derive(HashStable_Generic)] pub enum StableSince { Version(RustcVersion), |
