Skip to content

Rollup of 13 pull requests #77038

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 40 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
28db521
More implementations of Write for immutable refs
Sep 2, 2020
ec7f9b9
Deduplicates io::Write implementations
Sep 11, 2020
8f27e3c
Make some methods of `Pin` unstable const
CDirkx Sep 12, 2020
e5447a2
Fix #76432
simonvandel Sep 13, 2020
eede953
Only get ImplKind::Impl once
tesuji Sep 10, 2020
7e24136
Pass --target to lint docs
Mark-Simulacrum Sep 16, 2020
bd4e0af
Build rustdoc for cross-compiled targets
Mark-Simulacrum Sep 16, 2020
363aff0
Add test for x.py build cross-compilation
Mark-Simulacrum Sep 17, 2020
e3c6e46
Make some methods of `Pin<&mut T>` unstable const
CDirkx Sep 18, 2020
2a00dda
miri: correctly deal with `ConstKind::Bound`
lcnr Sep 10, 2020
6734230
do not ICE on `ty::Bound` in Layout::compute
lcnr Sep 11, 2020
65b3419
update stderr file
lcnr Sep 20, 2020
c690c82
use if let instead of single match arm expressions to compact code an…
matthiaskrgr Sep 18, 2020
88a29e6
Updates stability attributes to the current nightly version
Sep 21, 2020
0acb0ed
Update library/std/src/process.rs
FedericoPonzi Sep 21, 2020
60b102d
Don't recommend ManuallyDrop to customize drop order
matklad Aug 31, 2020
fe6fc55
Add a changelog for x.py
jyn514 Sep 12, 2020
b4b4a2f
Reduce boilerplate for BytePos and CharPos
Juici Sep 21, 2020
9a1f177
Remove cast to usize for BytePos and CharPos
Juici Sep 21, 2020
63195ec
Add explanation for E0756
GuillaumeGomez Sep 8, 2020
f5d71a9
Don't use `zip` to compare iterators during pretty-print hack
Aaron1011 Aug 30, 2020
40a5dc8
MIR pass to remove unneeded drops on types not needing drop
simonvandel Sep 13, 2020
e6942ae
Suggestion from review
simonvandel Sep 14, 2020
9b61fbc
Get LocalDefId from source instead of passing in
simonvandel Sep 19, 2020
d372455
The optimization should also apply for DropAndReplace
simonvandel Sep 19, 2020
1b2da2e
cleanup cfg after optimization
simonvandel Sep 19, 2020
dfb9f3a
rebless after rebase
simonvandel Sep 21, 2020
6be8212
Rollup merge of #76131 - Aaron1011:fix/pretty-print-zip, r=lcnr
Dylan-DPC Sep 22, 2020
e9aaa3b
Rollup merge of #76150 - matklad:droporder, r=withoutboats
Dylan-DPC Sep 22, 2020
b062780
Rollup merge of #76275 - FedericoPonzi:immutable-write-impl-73836, r=…
Dylan-DPC Sep 22, 2020
b7a6aae
Rollup merge of #76489 - GuillaumeGomez:add-explanation-e0756, r=jyn514
Dylan-DPC Sep 22, 2020
7a91e17
Rollup merge of #76581 - lcnr:bound-too-generic, r=eddyb
Dylan-DPC Sep 22, 2020
a65a244
Rollup merge of #76626 - jyn514:x.py-changelog, r=Mark-Simulacrum
Dylan-DPC Sep 22, 2020
4b4cfdd
Rollup merge of #76655 - CDirkx:const-pin, r=ecstatic-morse
Dylan-DPC Sep 22, 2020
8d641ce
Rollup merge of #76659 - simonvandel:76432, r=oli-obk
Dylan-DPC Sep 22, 2020
0e5bcba
Rollup merge of #76673 - simonvandel:remove-unneeded-drops, r=oli-obk
Dylan-DPC Sep 22, 2020
5e46051
Rollup merge of #76783 - lzutao:rd_impl_kind, r=GuillaumeGomez
Dylan-DPC Sep 22, 2020
a282d1e
Rollup merge of #76799 - Mark-Simulacrum:fix-cross-compile-dist, r=al…
Dylan-DPC Sep 22, 2020
42b3303
Rollup merge of #76888 - matthiaskrgr:clippy_single_match_2, r=Dylan-DPC
Dylan-DPC Sep 22, 2020
b441d26
Rollup merge of #77022 - Juici:master, r=lcnr
Dylan-DPC Sep 22, 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
Prev Previous commit
Next Next commit
Updates stability attributes to the current nightly version
  • Loading branch information
Federico Ponzi committed Sep 21, 2020
commit 88a29e630c1ce05fa28ec927e26cbf8a19d6efc4
4 changes: 2 additions & 2 deletions library/std/src/io/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ impl Write for Stdout {
}
}

#[stable(feature = "write_mt", since = "1.47.0")]
#[stable(feature = "write_mt", since = "1.48.0")]
impl Write for &Stdout {
fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
self.lock().write(buf)
Expand Down Expand Up @@ -810,7 +810,7 @@ impl Write for Stderr {
}
}

#[stable(feature = "write_mt", since = "1.47.0")]
#[stable(feature = "write_mt", since = "1.48.0")]
impl Write for &Stderr {
fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
self.lock().write(buf)
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/io/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl Write for Sink {
}
}

#[stable(feature = "write_mt", since = "1.47.0")]
#[stable(feature = "write_mt", since = "1.48.0")]
impl Write for &Sink {
#[inline]
fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
Expand Down