8000 Rollup of 18 pull requests by tmandry · Pull Request #65152 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 18 pull requests #65152

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 52 commits into from
Oct 6, 2019
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
0797712
Stabilize Option::deref and Option::deref_mut
SimonSapin Sep 23, 2019
f1835bc
Stabilize UdpSocket::peer_addr
messense Sep 24, 2019
1d06058
std: Reduce checks for `feature = "backtrace"`
alexcrichton Sep 25, 2019
1de6f74
Update src/libstd/net/udp.rs
Sep 26, 2019
e8796ca
Do not ICE when dereferencing non-Copy raw pointer
estebank Oct 2, 2019
1222cc9
permit asyncawait-ondeck to be added by anyone
nikomatsakis Oct 3, 2019
1fcbd90
Update triagebot.toml
nikomatsakis Oct 3, 2019
ed60cf2
When encountering chained operators use heuristics to recover from ba…
estebank Sep 30, 2019
6c9f298
review comments
estebank Sep 30, 2019
d7dceaa
Account for missing turbofish in paths too
estebank Sep 30, 2019
d27683a
Prove bad turbofish parser recovery in test
estebank Sep 30, 2019
dfdc369
review comments
estebank Oct 1, 2019
f1499a8
review comments
estebank Oct 1, 2019
02f57f8
review comments
estebank Oct 3, 2019
76456e7
review comments
estebank Oct 4, 2019
2d87bac
replace GeneratorSubsts with SubstsRef
csmoe Oct 3, 2019
fa7a87b
generate GeneratorSubsts from SubstsRef
csmoe Oct 3, 2019
774ea80
replace GeneratorSubsts inside related types
csmoe Oct 3, 2019
ef9fe10
remove GeneratorSubsts visitors
csmoe Oct 3, 2019
afc0bb9
clean up GeneratorSubsts
csmoe Oct 3, 2019
e9009c8
[const-prop] Fix ICE when trying to eval polymorphic promoted MIR
wesleywiser Oct 3, 2019
91a096a
move middle::liveness to rustc_passes
Mark-Simulacrum Oct 4, 2019
bb70782
middle::dead -> rustc_passes
Mark-Simulacrum Oct 4, 2019
82bfd8e
middle::entry -> rustc_passes
Mark-Simulacrum Oct 4, 2019
7c3f65b
middle::intrinsicck -> rustc_passes
Mark-Simulacrum Oct 4, 2019
d0a6805
Allow unused attributes to avoid incremental bug
Mark-Simulacrum Oct 4, 2019
d152d48
Fix lonely backtick
Qwaz Oct 4, 2019
c5f80aa
Remove unneeded visit_statement definition
spastorino Oct 4, 2019
8bb5c12
Update the documented default of -Z mutable-noalias
cuviper Oct 4, 2019
5f94a53
Account for macro invocation in `let mut $pat` diagnostic.
Centril Oct 5, 2019
173958a
Replaces some instances of `as *[const | mut] _` with `.cast()`
memoryruins Oct 5, 2019
318ff30
Fix typo on `now()` comments
Oct 5, 2019
080aa86
lint: extern non-exhaustive types are improper
davidtwco Oct 5, 2019
d16b7f7
Revert "Auto merge of #63649 - tlively:emscripten-upstream-upgrade, r…
tmandry Oct 6, 2019
0085263
Rollup merge of #64708 - SimonSapin:option-deref, r=Centril
tmandry Oct 6, 2019
019b5b5
Rollup merge of #64728 - messense:udp-peer-addr, r=dtolnay
tmandry Oct 6, 2019
ae2a720
Rollup merge of #64765 - alexcrichton:less-check-backtrace, r=sfackler
tmandry Oct 6, 2019
c7d7e37
Rollup merge of #64909 - estebank:turbofish-reloaded, r=Centril
tmandry Oct 6, 2019
2b225ba
Rollup merge of #65011 - estebank:ice-o-matic, r=zackmdavis
tmandry Oct 6, 2019
df471c1
Rollup merge of #65064 - rust-lang:permit-asyncawait-ondeck-by-anyone…
tmandry Oct 6, 2019
f14d374
Rollup merge of #65066 - wesleywiser:fix_const_prop_ice_on_polymorphi…
tmandry Oct 6, 2019
7739f17
Rollup merge of #65100 - csmoe:generator, r=nikomatsakis
tmandry Oct 6, 2019
2c8cbcc
Rollup merge of #65105 - Mark-Simulacrum:split-librustc, r=nikomatsakis
tmandry Oct 6, 2019
f80656c
Rollup merge of #65106 - Mark-Simulacrum:unused-attr-allow, r=Centril
tmandry Oct 6, 2019
1ac1407
Rollup merge of #65113 - Qwaz:master, r=jonas-schievink
tmandry Oct 6, 2019
2f4b471
Rollup merge of #65116 - spastorino:remove-unneeded-fn, r=oli-obk
tmandry Oct 6, 2019
a1eac17
Rollup merge of #65118 - cuviper:Zmutable-noalias-default, r=rkruppe
tmandry Oct 6, 2019
f5c8e12
Rollup merge of #65123 - Centril:mac-invoc-in-mut-pat, r=estebank
tmandry Oct 6, 2019
42caed9
Rollup merge of #65124 - memoryruins:castaway, r=petrochenkov
tmandry Oct 6, 2019
d54082e
Rollup merge of #65126 - BO41:time_typo, r=kennytm
tmandry Oct 6, 2019
485f5c9
Rollup merge of #65130 - davidtwco:rfc-2008-improper-ctypes, r=petroc…
tmandry Oct 6, 2019
69598dc
Rollup merge of #65151 - tmandry:revert-emscripten-upgrade, r=tmandry
tmandry Oct 6, 2019
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
Stabilize UdpSocket::peer_addr
  • Loading branch information
messense committed Sep 24, 2019
commit f1835bc517d97e5f3cf9d5a8f361dcd31cb39bef
4 changes: 1 addition & 3 deletions src/libstd/net/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ impl UdpSocket {
/// # Examples
///
/// ```no_run
/// #![feature(udp_peer_addr)]
/// use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4, UdpSocket};
///
/// let socket = UdpSocket::bind("127.0.0.1:34254").expect("couldn't bind to address");
Expand All @@ -199,14 +198,13 @@ impl UdpSocket {
/// [`NotConnected`]: ../../std/io/enum.ErrorKind.html#variant.NotConnected
///
/// ```no_run
/// #![feature(udp_peer_addr)]
/// use std::net::UdpSocket;
///
/// let socket = UdpSocket::bind("127.0.0.1:34254").expect("couldn't bind to address");
/// assert_eq!(socket.peer_addr().unwrap_err().kind(),
/// ::std::io::ErrorKind::NotConnected);
/// ```
#[unstable(feature = "udp_peer_addr", issue = "59127")]
#[stable(feature = "udp_peer_addr", since = "1.39.0")]
pub fn peer_addr(&self) -> io::Result<SocketAddr> {
self.0.peer_addr()
}
Expand Down
0