Skip to content

Rollup of 8 pull requests #83454

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
73ddfa0
stabilize debug_non_exhaustive
guswynn Mar 11, 2021
b8e4981
Update library/core/src/fmt/builders.rs
guswynn Mar 12, 2021
8dc0ae2
Remove Option::{unwrap_none, expect_none}.
m-ou-se Mar 14, 2021
c8dbb59
Add documentation for rustdoc-gui tests
GuillaumeGomez Mar 23, 2021
593f929
Add Result::into_err where the Ok variant can never happen
faern Mar 23, 2021
3bf076e
Add test for Result::into_err
faern Mar 23, 2021
f180721
small cleanups in rustc_errors / emitter
llogiq Mar 23, 2021
0381d67
Update RELEASES.md
wesleywiser Mar 24, 2021
c0fe54f
Use intra-doc link in core::cell
fee1-dead Mar 24, 2021
04961d2
LLVMWrapper: attractive nuisance macros
durin42 Mar 24, 2021
b1fac3a
Bump debug_non_exhaustive stabilization to 1.53.
m-ou-se Mar 24, 2021
a6ababb
Rollup merge of #83041 - guswynn:stable_debug_struct, r=m-ou-se
JohnTitor Mar 25, 2021
29e64e9
Rollup merge of #83349 - m-ou-se:unwrap-none, r=dtolnay
JohnTitor Mar 25, 2021
72a2d0e
Rollup merge of #83420 - GuillaumeGomez:rustdoc-gui-tests-doc, r=Craf…
JohnTitor Mar 25, 2021
921a820
Rollup merge of #83421 - faern:add-into-err, r=joshtriplett
JohnTitor Mar 25, 2021
5ca3f0d
Rollup merge of #83427 - llogiq:refactor-emitter, r=estebank
JohnTitor Mar 25, 2021
5a525c3
Rollup merge of #83434 - wesleywiser:update_releases, r=Mark-Simulacrum
JohnTitor Mar 25, 2021
ee34453
Rollup merge of #83440 - fee1-dead:core-cell-intralink, r=jyn514
JohnTitor Mar 25, 2021
67436c1
Rollup merge of #83442 - durin42:remove-questionable-macros, r=cuviper
JohnTitor Mar 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions library/core/src/fmt/builders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> {
/// # Examples
///
/// ```
/// # #![feature(debug_non_exhaustive)]
/// use std::fmt;
///
/// struct Bar {
Expand All @@ -186,7 +185,7 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> {
/// "Bar { bar: 10, .. }",
/// );
/// ```
#[unstable(feature = "debug_non_exhaustive", issue = "67364")]
#[stable(feature = "debug_non_exhaustive", since = "1.53.0")]
pub fn finish_non_exhaustive(&mut self) -> fmt::Result {
self.result = self.result.and_then(|_| {
// Draw non-exhaustive dots (`..`), and open brace if necessary (no fields).
Expand Down
1 change: 0 additions & 1 deletion library/core/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#![feature(core_intrinsics)]
#![feature(core_private_bignum)]
#![feature(core_private_diy_float)]
#![feature(debug_non_exhaustive)]
#![feature(dec2flt)]
#![feature(div_duration)]
#![feature(duration_consts_2)]
Expand Down