Skip to content
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

Rollup of 13 pull requests #49306

Closed
wants to merge 73 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
c685b57
add page to the Rustdoc Book about unstable features
QuietMisdreavus Mar 12, 2018
373b2cd
talk about error numbers for compile_fail doctests
QuietMisdreavus Mar 12, 2018
30adb53
talk about intra-links
QuietMisdreavus Mar 13, 2018
0f96e14
talk about doc(cfg)
QuietMisdreavus Mar 14, 2018
23a1da4
talk about doc(spotlight)
QuietMisdreavus Mar 14, 2018
82bd146
talk about doc(masked)
QuietMisdreavus Mar 14, 2018
067553d
talk about doc(include)
QuietMisdreavus Mar 14, 2018
3d90b4d
add headings to categorize the features
QuietMisdreavus Mar 14, 2018
c24a58c
fix link
QuietMisdreavus Mar 15, 2018
43ed377
add new section about CLI flags
QuietMisdreavus Mar 15, 2018
bb32823
talk about --markdown-(before|after)-content
QuietMisdreavus Mar 15, 2018
5d8443a
talk about --playground-url
QuietMisdreavus Mar 15, 2018
261efb6
suppress the default allow(unused) under --display-warnings
QuietMisdreavus Mar 15, 2018
683ad94
Add OnDrop
Zoxc Mar 15, 2018
3b43dcb
Replace Rc with Lrc
Zoxc Mar 14, 2018
910bf84
Always print `aborting due to n previous error(s)` and only print it …
Zoxc Mar 15, 2018
b1d872b
Update tests
Zoxc Mar 15, 2018
f9d3845
talk about --crate-version
QuietMisdreavus Mar 16, 2018
33ed787
talk about --linker
QuietMisdreavus Mar 16, 2018
cc4f97e
talk about --sort-modules-by-appearance
QuietMisdreavus Mar 16, 2018
6b29060
talk about --themes and --theme-checker
QuietMisdreavus Mar 16, 2018
b5ab5ce
talk about --resource-suffix
QuietMisdreavus Mar 16, 2018
9e62681
Remove core::fmt::num::Decimal
glandium Mar 17, 2018
f40877f
Add 12 num::NonZero* types for each primitive integer
SimonSapin Feb 16, 2018
2d13ddb
Use NonNull<_> instead of NonZero<*const _> in btree internals
SimonSapin Feb 16, 2018
67f46ce
Use num::NonZero* instead of NonZero<_> in rustc and tests
SimonSapin Feb 16, 2018
22f7a02
Deprecate core::nonzero in favor of ptr::NonNull and num::NonZero*
SimonSapin Feb 16, 2018
6d682c9
Stop using deprecated NonZero APIs
SimonSapin Feb 16, 2018
7cf1f18
Test NonZero in a const item in a pattern.
SimonSapin Feb 16, 2018
73c0537
Remove deprecated unstable ptr::Shared type alias.
SimonSapin Mar 8, 2018
e85c922
rustc_driver: get rid of extra thread on Unix
ishitatsuyuki Feb 27, 2018
1bb89f1
rustc_driver: get rid of extra thread on Windows
ishitatsuyuki Mar 6, 2018
a23f685
num::NonZero* types now have their own tracking issue: #49137
SimonSapin Mar 18, 2018
a185b56
Address review comments
ishitatsuyuki Mar 18, 2018
c5c650d
Split out termination_trait_test feature gate
tmandry Mar 19, 2018
685c3c1
Reduce the diagnostic span when multiple fields are missing in pattern
estebank Mar 19, 2018
97b3bf9
Stabilize termination_trait
tmandry Mar 19, 2018
e5a55e7
Stabilize termination_trait in 1.25, not 1.26
tmandry Mar 19, 2018
8236e43
Document only-X test header
sanxiyn Mar 19, 2018
f332a9c
Single diagnostic for all non-mentioned fields in a pattern
estebank Mar 19, 2018
062a46f
Reduce diagnostic verbosity by removing labels
estebank Mar 19, 2018
be29e52
Match against friendly error message
tmandry Mar 20, 2018
5ccf3ff
diagnostics: Remove main return type errors from E0580
tmandry Mar 20, 2018
8c8a72f
Reinit the stack guard on unexpected failure
ishitatsuyuki Mar 20, 2018
2928c7a
Refactor the stack addr aligning code into a function
ishitatsuyuki Mar 20, 2018
df76629
Remove outdated comment
oli-obk Mar 20, 2018
5e93394
talk about --display-warnings
QuietMisdreavus Mar 20, 2018
83e9f39
talk about force-unstable-if-unmarked
QuietMisdreavus Mar 20, 2018
3c8d555
rename epoch to edition
klnusbaum Mar 15, 2018
11f1406
change all appropriate EPOCH to EDITION
klnusbaum Mar 15, 2018
72334fe
typeck: Report main return type errors on return type span
tmandry Mar 20, 2018
1937661
Revert "Stabilize termination_trait in 1.25, not 1.26"
tmandry Mar 21, 2018
94bdeb6
termination_trait: Add () example to error message
tmandry Mar 21, 2018
2cdc7af
Use NOTE instead of error-pattern directive
tmandry Mar 21, 2018
75dcc61
Cargo fmt libtest
topecongiro Mar 21, 2018
b996f9d
review comments
QuietMisdreavus Mar 21, 2018
b6934c9
termination_trait: Put examples in error help, not label
tmandry Mar 21, 2018
2b13d95
termination_trait: Make error message more helpful
tmandry Mar 22, 2018
b48a26c
Produce nice array lengths on a best effort basis
oli-obk Mar 22, 2018
de1c929
Use GNU version of fgrep/egrep tool if available
semarie Mar 22, 2018
a803046
Rollup merge of #48265 - SimonSapin:nonzero, r=KodrAus
frewsxcv Mar 23, 2018
2ae8ffb
Rollup merge of #48575 - ishitatsuyuki:unix-no-thread, r=alexcrichton
frewsxcv Mar 23, 2018
832271f
Rollup merge of #49028 - QuietMisdreavus:the-dark-forbidden-corners-o…
frewsxcv Mar 23, 2018
c2dbfa6
Rollup merge of #49035 - klnusbaum:49001_epoch, r=Manishearth
frewsxcv Mar 23, 2018
a10dd4d
Rollup merge of #49046 - Zoxc:error-summary, r=michaelwoerister
frewsxcv Mar 23, 2018
79224ae
Rollup merge of #49064 - QuietMisdreavus:piercing-the-veil, r=Guillau…
frewsxcv Mar 23, 2018
e3e28cd
Rollup merge of #49102 - glandium:decimal, r=aturon
frewsxcv Mar 23, 2018
f3fdc53
Rollup merge of #49160 - estebank:issue-47457-missing-fields, r=oli-obk
frewsxcv Mar 23, 2018
31462b8
Rollup merge of #49162 - tmandry:stabilize-termination-trait, r=nikom…
frewsxcv Mar 23, 2018
e0274d6
Rollup merge of #49169 - sanxiyn:doc-only, r=aturon
frewsxcv Mar 23, 2018
003a135
Rollup merge of #49235 - topecongiro:run-rustfmt/libtest, r=nrc
frewsxcv Mar 23, 2018
7936d7d
Rollup merge of #49262 - oli-obk:fixed_size_array_len, r=estebank
frewsxcv Mar 23, 2018
bd57bb8
Rollup merge of #49272 - semarie:cat-and-grep-gnu, r=alexcrichton
frewsxcv Mar 23, 2018
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
Prev Previous commit
Next Next commit
Remove core::fmt::num::Decimal
Before ebf9e1a, it was used for Display::fmt, but ebf9e1a replaced
that with a faster implementation, and nothing else uses it.
  • Loading branch information
glandium committed Mar 17, 2018
commit 9e6268191205c42bc7958d949fa48811d60857f9
5 changes: 0 additions & 5 deletions src/libcore/fmt/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ struct Binary;
#[derive(Clone, PartialEq)]
struct Octal;

/// A decimal (base 10) radix
#[derive(Clone, PartialEq)]
struct Decimal;

/// A hexadecimal (base 16) radix, formatted with lower-case characters
#[derive(Clone, PartialEq)]
struct LowerHex;
Expand All @@ -136,7 +132,6 @@ macro_rules! radix {

radix! { Binary, 2, "0b", x @ 0 ... 1 => b'0' + x }
radix! { Octal, 8, "0o", x @ 0 ... 7 => b'0' + x }
radix! { Decimal, 10, "", x @ 0 ... 9 => b'0' + x }
radix! { LowerHex, 16, "0x", x @ 0 ... 9 => b'0' + x,
x @ 10 ... 15 => b'a' + (x - 10) }
radix! { UpperHex, 16, "0x", x @ 0 ... 9 => b'0' + x,
Expand Down