Skip to content

Commit 73ddfa0

Browse files
committed
stabilize debug_non_exhaustive
1 parent 4a8b6f7 commit 73ddfa0

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

library/core/src/fmt/builders.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> {
165165
/// # Examples
166166
///
167167
/// ```
168-
/// # #![feature(debug_non_exhaustive)]
169168
/// use std::fmt;
170169
///
171170
/// struct Bar {
@@ -186,7 +185,7 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> {
186185
/// "Bar { bar: 10, .. }",
187186
/// );
188187
/// ```
189-
#[unstable(feature = "debug_non_exhaustive", issue = "67364")]
188+
#[stable(feature = "debug_non_exhaustive", since = "1.51.0")]
190189
pub fn finish_non_exhaustive(&mut self) -> fmt::Result {
191190
self.result = self.result.and_then(|_| {
192191
// Draw non-exhaustive dots (`..`), and open brace if necessary (no fields).

library/core/tests/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#![feature(core_intrinsics)]
2121
#![feature(core_private_bignum)]
2222
#![feature(core_private_diy_float)]
23-
#![feature(debug_non_exhaustive)]
2423
#![feature(dec2flt)]
2524
#![feature(div_duration)]
2625
#![feature(duration_consts_2)]

0 commit comments

Comments
 (0)