Skip to content

Rollup of 10 pull requests #59868

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

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
5c7a944
Add documentation on the -Z flag on the command-line arguments sectio…
Apr 3, 2019
63080b3
remove lookup_char_pos_adj
matklad Apr 5, 2019
a2d4e85
Uplift `get_def_path` from Clippy
flip1995 Apr 7, 2019
edebed9
compiletest: Improve no_prefer_dynamic docs
phansch Apr 8, 2019
3262d1e
Kill dead code dominator code.
vext01 Apr 9, 2019
d6fd57a
Fix broken links on std::boxed doc page
ollie27 Apr 9, 2019
1ad46cd
Fix links on keyword docs.
ehuss Apr 9, 2019
3e01901
Remove strange formatting in `Ordering` docs.
ehuss Apr 9, 2019
2f97552
Re-export NonZero signed variant in std
tesuji Apr 10, 2019
3826493
std::ops::Div examples: correct nominator to numerator
andersk Apr 10, 2019
404df31
Update ui test
tesuji Apr 10, 2019
7acfa45
Updated the documentation, now claiming the -Z is associated to unsta…
Apr 10, 2019
cdeb745
Updated the description of -Z in the rustc book.
Apr 10, 2019
632b11c
Rollup merge of #59680 - DevQps:document-rustc-z-flag, r=cramertj
sanxiyn Apr 11, 2019
4afd711
Rollup merge of #59735 - matklad:deadcode, r=sanxiyn
sanxiyn Apr 11, 2019
d7fe9cf
Rollup merge of #59779 - flip1995:uplift_get_def_path, r=Manishearth
sanxiyn Apr 11, 2019
be4b820
Rollup merge of #59806 - phansch:compiletest_docs2, r=oli-obk
sanxiyn Apr 11, 2019
e6ac17b
Rollup merge of #59811 - vext01:dead-dominator-code, r=oli-obk
sanxiyn Apr 11, 2019
a05adad
Rollup merge of #59814 - ollie27:dead_boxed_links, r=QuietMisdreavus
sanxiyn Apr 11, 2019
05e00c4
Rollup merge of #59830 - ehuss:keyword-links, r=Mark-Simulacrum
sanxiyn Apr 11, 2019
8e79a95
Rollup merge of #59831 - ehuss:ordering-docs, r=kennytm
sanxiyn Apr 11, 2019
da1748b
Rollup merge of #59835 - lzutao:nonzero-signed, r=Mark-Simulacrum
sanxiyn Apr 11, 2019
83787bb
Rollup merge of #59836 - andersk:nominator, r=Centril
sanxiyn Apr 11, 2019
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
2 changes: 2 additions & 0 deletions src/libstd/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ pub use core::num::Wrapping;

#[stable(feature = "nonzero", since = "1.28.0")]
pub use core::num::{NonZeroU8, NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU128, NonZeroUsize};
#[stable(feature = "signed_nonzero", since = "1.34.0")]
pub use core::num::{NonZeroI8, NonZeroI16, NonZeroI32, NonZeroI64, NonZeroI128, NonZeroIsize};

#[cfg(test)] use crate::fmt;
#[cfg(test)] use crate::ops::{Add, Sub, Mul, Div, Rem};
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/try-block/try-block-bad-type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ LL | Err("")?;
|
= help: the following implementations were found:
<i32 as std::convert::From<bool>>
<i32 as std::convert::From<core::num::NonZeroI32>>
<i32 as std::convert::From<i16>>
<i32 as std::convert::From<i8>>
<i32 as std::convert::From<std::num::NonZeroI32>>
and 2 others
= note: required by `std::convert::From::from`

Expand Down