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 23 pull requests #53252

Closed
wants to merge 80 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
b68b396
Don't collect() when size_hint is useless
ljedrz Aug 3, 2018
1667950
Remove explicit returns where unnecessary
ljedrz Aug 4, 2018
1dd53f7
Add aarch64-unknown-netbsd target
jakllsch Aug 4, 2018
bf089a1
[nll] libcore: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
26991eb
[nll] libprofiler_builtins: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
ed55520
[nll] librustc: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
9207cc9
[nll] librustc_allocator: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
c556cff
[nll] librustc_data_structures: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
75fa16b
[nll] libserialize: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
6858bd8
[nll] libsyntax: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
9d2c4a3
[nll] libtest: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
6c7473d
Deny future duplication of rustc-ap-syntax
alexcrichton Aug 9, 2018
c9aca02
Don't panic on std::env::vars() when env in null.
BurntPizza Aug 8, 2018
ffdac5d
Make SnapshotMap::{commit, rollback_to} take references
ljedrz Aug 9, 2018
1601879
Change transmute()s in IdxSet::{from_slice, from_slice_mut} to casts
ljedrz Aug 9, 2018
94c3856
A few cleanups for rustc_data_structures
ljedrz Aug 9, 2018
6563803
Don't set rlimit to a lower value than the current
varkor Aug 9, 2018
82a704a
Add a safety check for compiletest rlimit
varkor Aug 9, 2018
2cb91da
[nll] libsyntax_ext: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
ce5b9c6
[nll] libsyntax_ext: remove unnecessary mut annotation on variable
memoryruins Aug 9, 2018
4861643
[nll] libproc_macro: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
4b42a21
[nll] librustc_codegen_utils: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
8172485
[nll] librustc_llvm: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
588dbed
[nll] librustc_lsan: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
d9f2b51
[nll] librustc_msan: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
5840735
[nll] librustc_platform_intrinsics: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
ac9b7be
[nll] librustc_typeck: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
4aced68
[nll] librustdoc: enable feature(nll) for bootstrap
memoryruins Aug 9, 2018
1aa6c23
Feature gate where clauses on associated type impls
varkor Aug 9, 2018
898950c
targets: aarch64: Add bare-metal aarch64 target
andre-richter Aug 9, 2018
ef34a16
[nll] librustc_data_structures: remove unused mut annotation in test
memoryruins Aug 9, 2018
176f8c2
Removed `raw_identifiers` feature gate.
alexreg Aug 9, 2018
b187c42
Consider changing assert! to debug_assert! when it calls visit_with
ljedrz Aug 3, 2018
945f032
Add individual documentation for <integer>`.swap_bytes`/.`reverse_bits`
llogiq Aug 10, 2018
e8d95a5
[nll] libstd: enable feature(nll) for bootstrap
memoryruins Aug 10, 2018
5d6ca8e
[nll] librustc_mir: enable feature(nll) for bootstrap
memoryruins Aug 10, 2018
46b818e
[nll] librustc_codegen_llvm: enable feature(nll) for bootstrap
memoryruins Aug 10, 2018
085535b
[nll] librustc_codegen_llvm: change Child signature to fix error poin…
memoryruins Aug 10, 2018
0123ac1
[nll] librustc_codegen_llvm: remove unused mut annotation
memoryruins Aug 10, 2018
8a76656
Link compiler test documentation to rustc-guide
tromey Aug 1, 2018
3e13393
Rollup merge of #53019 - ljedrz:bad_collects, r=estebank
kennytm Aug 10, 2018
096fabe
Rollup merge of #53025 - ljedrz:debug_asserts_limited, r=varkor
kennytm Aug 10, 2018
6b06a8e
Rollup merge of #53059 - ljedrz:unneeded_returns, r=kennytm
kennytm Aug 10, 2018
e37391b
Remove unwanted console log
GuillaumeGomez Aug 10, 2018
538d1ba
aarch64-unknown-netbsd: add openssl configuration
jakllsch Aug 10, 2018
4076dc4
Update RLS
nrc Aug 9, 2018
a7830aa
Rollup merge of #53208 - BurntPizza:protect-the-environment, r=alexcr…
kennytm Aug 10, 2018
715581a
Rollup merge of #53210 - alexcrichton:deny-rustc-syntax, r=nrc
kennytm Aug 10, 2018
fdf4007
Rollup merge of #53229 - varkor:rlimits_min, r=nikomatsakis
kennytm Aug 10, 2018
28edfb0
Rollup merge of #53233 - andre-richter:master, r=alexcrichton
kennytm Aug 10, 2018
5a801c8
Fix styles
GuillaumeGomez Aug 11, 2018
53d308f
Show that Command can be reused and remodified
Havvy Aug 11, 2018
44af068
Remove statics field from CodegenCx
bjorn3 Aug 11, 2018
f9f934f
Add let keyword doc
GuillaumeGomez Aug 11, 2018
c95edca
Rollup merge of #53235 - varkor:gat_impl_where, r=estebank
kennytm Aug 10, 2018
dcfbdea
Rollup merge of #53236 - alexreg:stabilise-raw-idents, r=cramertj
kennytm Aug 10, 2018
9ec70d3
Rollup merge of #53240 - llogiq:doc-num-swap-reverse, r=joshtriplett
kennytm Aug 10, 2018
fa4dc7a
Rollup merge of #53253 - GuillaumeGomez:remove-console, r=kennytm
kennytm Aug 10, 2018
a64911c
Rollup merge of #52955 - tromey:compiler-test-docs, r=nikomatsakis
kennytm Aug 11, 2018
1bd57e2
Rollup merge of #53230 - memoryruins:nll_bootstrap_4, r=nikomatsakis
kennytm Aug 11, 2018
c0ee4e7
Rollup merge of #53165 - jakllsch:netbsd-ad22a005-b917-47f3-8156-f717…
kennytm Aug 11, 2018
aac3c2f
Rollup merge of #53238 - nrc:update, r=kennytm
kennytm Aug 11, 2018
ec18991
Add links to std::char::REPLACEMENT_CHARACTER from docs.
frewsxcv Aug 11, 2018
0070b46
Fix indent
Havvy Aug 11, 2018
90a6954
Emit error for pattern arguments in trait methods
varkor Aug 4, 2018
b05f0be
Suggest replacing patterns with underscores
varkor Aug 4, 2018
235905c
Fix handling of trait methods with bodies and improve efficiency
varkor Aug 6, 2018
a478cd4
Improve diagnostics
varkor Aug 6, 2018
e4c3b49
Emit an error during parsing
varkor Aug 9, 2018
49e9c5f
Add E0642 to parser error
varkor Aug 10, 2018
5c814e2
Clean up and add extra tests
varkor Aug 11, 2018
a012abc
Rollup merge of #53274 - bjorn3:remove_statics_field, r=nagisa
kennytm Aug 12, 2018
cbcfa2c
Rollup merge of #53223 - ljedrz:cleanup_data_structures, r=oli-obk
kennytm Aug 12, 2018
c0f4976
Rollup merge of #53231 - GuillaumeGomez:let-keyword, r=QuietMisdreavus
kennytm Aug 12, 2018
4250f9c
Rollup merge of #53264 - Havvy:patch-3, r=GuillaumeGomez
kennytm Aug 12, 2018
bc0c0ba
Rollup merge of #53273 - frewsxcv:frewsxcv-ufffd, r=GuillaumeGomez
kennytm Aug 12, 2018
6dd9bcc
Rollup merge of #53051 - varkor:trait-method-pattern-arguments-error,…
kennytm Aug 12, 2018
66fd1eb
Make LLVM emit assembly comments with -Z asm-comments.
whitequark Aug 12, 2018
16210e8
Rollup merge of #53290 - whitequark:fix-35741, r=nagisa
kennytm Aug 12, 2018
e330088
Rollup merge of #53267 - GuillaumeGomez:fix-styles, r=QuietMisdreavus
kennytm Aug 12, 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
2 changes: 1 addition & 1 deletion src/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ dependencies = [

[[package]]
name = "rls"
version = "0.130.4"
version = "0.130.5"
dependencies = [
"cargo 0.30.0",
"cargo_metadata 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)",
Expand Down
1 change: 1 addition & 0 deletions src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ impl Step for Openssl {
"aarch64-linux-android" => "linux-aarch64",
"aarch64-unknown-linux-gnu" => "linux-aarch64",
"aarch64-unknown-linux-musl" => "linux-aarch64",
"aarch64-unknown-netbsd" => "BSD-generic64",
"arm-linux-androideabi" => "android",
"arm-unknown-linux-gnueabi" => "linux-armv4",
"arm-unknown-linux-gnueabihf" => "linux-armv4",
Expand Down
6 changes: 4 additions & 2 deletions src/liballoc/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,10 +519,11 @@ impl String {
/// between the two. Not all byte slices are valid strings, however: strings
/// are required to be valid UTF-8. During this conversion,
/// `from_utf8_lossy()` will replace any invalid UTF-8 sequences with
/// `U+FFFD REPLACEMENT CHARACTER`, which looks like this: �
/// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD], which looks like this: �
///
/// [`u8`]: ../../std/primitive.u8.html
/// [byteslice]: ../../std/primitive.slice.html
/// [U+FFFD]: ../char/constant.REPLACEMENT_CHARACTER.html
///
/// If you are sure that the byte slice is valid UTF-8, and you don't want
/// to incur the overhead of the conversion, there is an unsafe version
Expand Down Expand Up @@ -621,14 +622,15 @@ impl String {
}

/// Decode a UTF-16 encoded slice `v` into a `String`, replacing
/// invalid data with the replacement character (U+FFFD).
/// invalid data with [the replacement character (`U+FFFD`)][U+FFFD].
///
/// Unlike [`from_utf8_lossy`] which returns a [`Cow<'a, str>`],
/// `from_utf16_lossy` returns a `String` since the UTF-16 to UTF-8
/// conversion requires a memory allocation.
///
/// [`from_utf8_lossy`]: #method.from_utf8_lossy
/// [`Cow<'a, str>`]: ../borrow/enum.Cow.html
/// [U+FFFD]: ../char/constant.REPLACEMENT_CHARACTER.html
///
/// # Examples
///
Expand Down
10 changes: 5 additions & 5 deletions src/libcore/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl Layout {

let len_rounded_up = len.wrapping_add(align).wrapping_sub(1)
& !align.wrapping_sub(1);
return len_rounded_up.wrapping_sub(len);
len_rounded_up.wrapping_sub(len)
}

/// Creates a layout describing the record for `n` instances of
Expand Down Expand Up @@ -971,9 +971,9 @@ pub unsafe trait Alloc {
// _l <= layout.size() [guaranteed by usable_size()]
// layout.size() <= new_layout.size() [required by this method]
if new_size <= u {
return Ok(());
Ok(())
} else {
return Err(CannotReallocInPlace);
Err(CannotReallocInPlace)
}
}

Expand Down Expand Up @@ -1026,9 +1026,9 @@ pub unsafe trait Alloc {
// layout.size() <= _u [guaranteed by usable_size()]
// new_layout.size() <= layout.size() [required by this method]
if l <= new_size {
return Ok(());
Ok(())
} else {
return Err(CannotReallocInPlace);
Err(CannotReallocInPlace)
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/libcore/char/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ impl Iterator for EscapeDefault {
None
}
},
EscapeDefaultState::Done => return None,
EscapeDefaultState::Unicode(ref mut i) => return i.nth(n),
EscapeDefaultState::Done => None,
EscapeDefaultState::Unicode(ref mut i) => i.nth(n),
}
}

Expand Down
1 change: 1 addition & 0 deletions src/libcore/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
#![feature(lang_items)]
#![feature(link_llvm_intrinsics)]
#![feature(never_type)]
#![cfg_attr(not(stage0), feature(nll))]
#![feature(exhaustive_patterns)]
#![feature(macro_at_most_once_rep)]
#![feature(no_core)]
Expand Down
Loading