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 15 pull requests #78767

Merged
merged 44 commits into from
Nov 5, 2020
Merged
Changes from 4 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
4af560e
Move zero-sized-vec-push test
poliorcetics Sep 14, 2020
85afbd8
Rebase conflicts
poliorcetics Oct 17, 2020
4fd06b9
Move vec-macro-repeat test
poliorcetics Oct 3, 2020
42271a5
Move vec swap test
poliorcetics Oct 3, 2020
1bdee96
Move subslice pattern tests to alloc/tests/slice.rs
poliorcetics Oct 3, 2020
251f6da
(rustdoc) fix test for trait impl display
liketechnik Oct 25, 2020
e4d1096
Change as_str → to_string in proc_macro::Ident::span() docs
est31 Oct 28, 2020
300362e
Close the theme picker when Escape is pressed
notriddle Oct 30, 2020
ac3a434
Allow the theme picker to work with arrow keys
notriddle Oct 30, 2020
6918a17
Add aria roles for theme picker menu
notriddle Oct 30, 2020
90c7c63
Add comment describing the Escape key weirdness
notriddle Oct 30, 2020
17b8ca9
Pull theme picker keyboard code into main.js
notriddle Oct 30, 2020
5801109
Move Copy and Clone into the list of traits implemented for all sizes
est31 Nov 4, 2020
93fa023
Fix outdated comment next to array_impl_default
est31 Nov 4, 2020
bcd2f2d
fix a couple of clippy warnings:
matthiaskrgr Nov 4, 2020
69e5729
Simplify the implementation of `get_mut` (no unsafe)
danielhenrymantilla Nov 4, 2020
232b9ba
Move range in ui test to ops test in library/core
sasurau4 Nov 4, 2020
a70e0c2
Fix issue 78654.
hameerabbasi Nov 4, 2020
bd7229d
make intern_const_alloc_recursive return error fix #78655
vn-ki Nov 4, 2020
5855fb7
Move f64::NAN ui tests into `library`
Oct 27, 2020
97d5a1b
Fix format
Nov 4, 2020
d8afe98
Clean up docs for 'as' keyword
camelid Oct 19, 2020
bdbcaf0
Update cargo
ehuss Nov 5, 2020
3084a55
Don't use `crate` in link text
camelid Nov 5, 2020
bbdb1f0
Clean up some intra-doc links
camelid Nov 5, 2020
677b2ac
Add missing comma
camelid Nov 5, 2020
873ebcb
Fixed typo in comment
eltociear Nov 5, 2020
f9b139f
Add `mod nan` for test
Nov 5, 2020
a15ee4d
update dangling-alloc-id-ice test
vn-ki Nov 5, 2020
55f4b80
Rollup merge of #76718 - poliorcetics:vec-ui-to-unit-test, r=jyn514
m-ou-se Nov 5, 2020
10d2843
Rollup merge of #78093 - camelid:as-cleanup, r=jyn514
m-ou-se Nov 5, 2020
9922933
Rollup merge of #78425 - chansuke:move_nan, r=jyn514
m-ou-se Nov 5, 2020
6d7098f
Rollup merge of #78465 - est31:proc_macro_to_string, r=jyn514
m-ou-se Nov 5, 2020
cbf74bc
Rollup merge of #78584 - notriddle:master, r=GuillaumeGomez
m-ou-se Nov 5, 2020
43e1b58
Rollup merge of #78716 - est31:array_traits, r=Dylan-DPC
m-ou-se Nov 5, 2020
9bbb052
Rollup merge of #78727 - liketechnik:issue-55201, r=GuillaumeGomez
m-ou-se Nov 5, 2020
8640360
Rollup merge of #78733 - matthiaskrgr:cl11ppy, r=jyn514
m-ou-se Nov 5, 2020
29fad21
Rollup merge of #78735 - danielhenrymantilla:simplify-unsafecell-getm…
m-ou-se Nov 5, 2020
86e6afa
Rollup merge of #78738 - sasurau4:test/move-range-test-to-library-cor…
m-ou-se Nov 5, 2020
171d29c
Rollup merge of #78739 - hameerabbasi:issue-78654, r=nikomatsakis
m-ou-se Nov 5, 2020
5ffccc4
Rollup merge of #78742 - vn-ki:fix-issue-78655, r=oli-obk
m-ou-se Nov 5, 2020
679c4c7
Rollup merge of #78756 - ehuss:update-cargo, r=ehuss
m-ou-se Nov 5, 2020
f383e4f
Rollup merge of #78757 - camelid:crate-link-text, r=jyn514
m-ou-se Nov 5, 2020
8416e13
Rollup merge of #78758 - eltociear:patch-1, r=jyn514
m-ou-se Nov 5, 2020
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 library/core/tests/num/mod.rs
Original file line number Diff line number Diff line change
@@ -27,6 +27,8 @@ mod bignum;
mod dec2flt;
mod flt2dec;

mod nan;

/// Adds the attribute to all items in the block.
macro_rules! cfg_block {
($(#[$attr:meta]{$($it:item)*})*) => {$($(
7 changes: 3 additions & 4 deletions src/test/ui/format-nan.rs → library/core/tests/num/nan.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// run-pass

pub fn main() {
use std::f64;
#[test]
fn test_nan() {
use core::f64;
let x = "NaN".to_string();
assert_eq!(format!("{}", f64::NAN), x);
assert_eq!(format!("{:e}", f64::NAN), x);