Skip to content

Rollup of 8 pull requests #70371

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

Merged
merged 23 commits into from
Mar 24, 2020
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4bf6734
clean up E0436 explanation
GuillaumeGomez Mar 15, 2020
a7ab7b1
#[track_caller] on core::ops::{Index, IndexMut}.
anp Mar 23, 2020
4dda632
IoSlice/IoSliceMut should be Send and Sync
withoutboats Mar 23, 2020
3cc4ef9
correct rustc version
withoutboats Mar 23, 2020
eaa6488
Request "-Z unstable-options" for unstable options
workingjubilee Mar 24, 2020
9d9649a
move ModifiedStatic error to ConstEval errors, and generally adjust t…
RalfJung Mar 21, 2020
f70af91
bless; add test for mutating a static
RalfJung Mar 21, 2020
69cf211
get back the more precise error message
RalfJung Mar 21, 2020
58a56cc
bless you
RalfJung Mar 21, 2020
7a73b87
fix const_prop ICE
RalfJung Mar 22, 2020
5a62054
Clean up E0454
GuillaumeGomez Mar 24, 2020
1939b4c
actually we can reject all reads from mutable allocs in const-prop
RalfJung Mar 24, 2020
03c64bf
spaces between braces really ruin readability
withoutboats Mar 24, 2020
42b10e5
must_use on split_off
kornelski Mar 24, 2020
33cd9a2
Mark hotplug_codegen_backend as ignore-stage1
bjorn3 Mar 24, 2020
89feaf6
Rollup merge of #70023 - GuillaumeGomez:cleanup-e0436, r=Centril
Centril Mar 24, 2020
50d2f30
Rollup merge of #70234 - anp:tracked-std-traits, r=Amanieu
Centril Mar 24, 2020
b8093ba
Rollup merge of #70241 - RalfJung:global-mem, r=oli-obk
Centril Mar 24, 2020
8d4b5ff
Rollup merge of #70342 - withoutboats:io-slice-send-sync, r=Mark-Simu…
Centril Mar 24, 2020
f8ec23f
Rollup merge of #70350 - workingjubilee:patch-1, r=Dylan-DPC
Centril Mar 24, 2020
dc29016
Rollup merge of #70355 - GuillaumeGomez:cleanup-e0454, r=Dylan-DPC
Centril Mar 24, 2020
db2c70b
Rollup merge of #70359 - kornelski:mustsplit, r=Dylan-DPC
Centril Mar 24, 2020
bf1ad22
Rollup merge of #70368 - bjorn3:patch-2, r=jonas-schievink
Centril Mar 24, 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
4 changes: 2 additions & 2 deletions src/libstd/io/mod.rs
Original file line number Diff line number Diff line change
@@ -1060,10 +1060,10 @@ impl<'a> DerefMut for IoSliceMut<'a> {
#[repr(transparent)]
pub struct IoSlice<'a>(sys::io::IoSlice<'a>);

#[stable(feature = "iovec-send-sync", since = "1.43.0")]
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
unsafe impl<'a> Send for IoSlice<'a> { }

#[stable(feature = "iovec-send-sync", since = "1.43.0")]
#[stable(feature = "iovec-send-sync", since = "1.44.0")]
unsafe impl<'a> Sync for IoSlice<'a> { }

#[stable(feature = "iovec", since = "1.36.0")]