Skip to content

Commit 3d6f510

Browse files
committed
Auto merge of #21730 - Manishearth:rollup, r=alexcrichton
Should clear our backlog of rollups from the queue
2 parents bedd810 + 092330c commit 3d6f510

File tree

33 files changed

+93
-118
lines changed

33 files changed

+93
-118
lines changed

AUTHORS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ Olivier Saut <[email protected]>
516516
Olle Jonsson <[email protected]>
517517
Or Brostovski <[email protected]>
518518
Oren Hazi <[email protected]>
519-
Orphée Lafond-Lummis <o@orftz.com>
519+
Orpheus Lummis <o@orpheuslummis.com>
520520
521521
Pablo Brasero <[email protected]>
522522
Palmer Cox <[email protected]>

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ example, if it's 2014, and you change a Rust file that was created in
5050
# Coordination and communication
5151

5252
Get feedback from other developers on
53-
[discuss.rust-lang.org][discuss], and
53+
[internals.rust-lang.org][internals], and
5454
[#rust-internals][pound-rust-internals].
5555

5656
[pound-rust-internals]: http://chat.mibbit.com/?server=irc.mozilla.org&channel=%23rust-internals
57-
[discuss]: http://discuss.rust-lang.org
57+
[internals]: http://internals.rust-lang.org
5858

5959
For more details, please refer to
6060
[Note-development-policy](https://github.com/rust-lang/rust/wiki/Note-development-policy).

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ documentation.
3030

3131
To build from the [tarball] do:
3232

33-
$ curl -O https://static.rust-lang.org/dist/rust-nightly.tar.gz
34-
$ tar -xzf rust-nightly.tar.gz
35-
$ cd rust-nightly
33+
$ curl -O https://static.rust-lang.org/dist/rustc-nightly-src.tar.gz
34+
$ tar -xzf rustc-nightly-src.tar.gz
35+
$ cd rustc-nightly
3636

3737
Or to build from the [repo] do:
3838

@@ -80,7 +80,7 @@ $ pacman -S base-devel
8080
$ make && make install
8181

8282
[repo]: https://github.com/rust-lang/rust
83-
[tarball]: https://static.rust-lang.org/dist/rust-nightly.tar.gz
83+
[tarball]: https://static.rust-lang.org/dist/rustc-nightly-src.tar.gz
8484
[trpl]: http://doc.rust-lang.org/book/index.html
8585

8686
## Notes
@@ -112,11 +112,11 @@ The Rust community congregates in a few places:
112112

113113
* [StackOverflow] - Get help here.
114114
* [/r/rust] - General discussion.
115-
* [discuss.rust-lang.org] - For development of the Rust language itself.
115+
* [internals.rust-lang.org] - For development of the Rust language itself.
116116

117117
[StackOverflow]: http://stackoverflow.com/questions/tagged/rust
118118
[/r/rust]: http://reddit.com/r/rust
119-
[discuss.rust-lang.org]: http://discuss.rust-lang.org/
119+
[internals.rust-lang.org]: http://internals.rust-lang.org/
120120

121121
## License
122122

src/doc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ problem might reveal someone who has asked it before!
4141
There is an active [subreddit](http://reddit.com/r/rust) with lots of
4242
discussion about Rust.
4343

44-
There is also a [developer forum](http://discuss.rust-lang.org/), where the
44+
There is also a [developer forum](http://internals.rust-lang.org/), where the
4545
development of Rust itself is discussed.
4646

4747
# Specification

src/etc/local_stage0.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,16 @@ case $OS in
2121
("Linux"|"FreeBSD"|"DragonFly")
2222
BIN_SUF=
2323
LIB_SUF=.so
24-
break
2524
;;
2625
("Darwin")
2726
BIN_SUF=
2827
LIB_SUF=.dylib
29-
break
3028
;;
3129
(*)
3230
BIN_SUF=.exe
3331
LIB_SUF=.dll
3432
LIB_DIR=bin
3533
LIB_PREFIX=
36-
break
3734
;;
3835
esac
3936

src/liballoc/heap.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#[cfg(not(test))]
1112
use core::ptr::PtrExt;
1213

1314
// FIXME: #13996: mark the `allocate` and `reallocate` return value as `noalias`

src/libcore/cell.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -594,12 +594,6 @@ impl<'b, T> DerefMut for RefMut<'b, T> {
594594
/// The `UnsafeCell<T>` type is the only legal way to obtain aliasable data that is considered
595595
/// mutable. In general, transmuting an `&T` type into an `&mut T` is considered undefined behavior.
596596
///
597-
/// Although it is possible to put an `UnsafeCell<T>` into static item, it is not permitted to take
598-
/// the address of the static item if the item is not declared as mutable. This rule exists because
599-
/// immutable static items are stored in read-only memory, and thus any attempt to mutate their
600-
/// interior can cause segfaults. Immutable static items containing `UnsafeCell<T>` instances are
601-
/// still useful as read-only initializers, however, so we do not forbid them altogether.
602-
///
603597
/// Types like `Cell<T>` and `RefCell<T>` use this type to wrap their internal data.
604598
///
605599
/// `UnsafeCell<T>` doesn't opt-out from any marker traits, instead, types with an `UnsafeCell<T>`

src/libfmt_macros/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ mod tests {
447447
use super::*;
448448

449449
fn same(fmt: &'static str, p: &[Piece<'static>]) {
450-
let mut parser = Parser::new(fmt);
450+
let parser = Parser::new(fmt);
451451
assert!(p == parser.collect::<Vec<Piece<'static>>>());
452452
}
453453

src/liblibc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ pub use funcs::bsd43::{shutdown};
273273
#[cfg(windows)] pub use funcs::extra::kernel32::{GetOverlappedResult, ConnectNamedPipe};
274274
#[cfg(windows)] pub use funcs::extra::kernel32::{DisconnectNamedPipe, OpenProcess};
275275
#[cfg(windows)] pub use funcs::extra::kernel32::{MoveFileExW, VirtualProtect};
276+
#[cfg(windows)] pub use funcs::extra::kernel32::{RemoveDirectoryW};
276277
#[cfg(windows)] pub use funcs::extra::msvcrt::{get_osfhandle, open_osfhandle};
277278
#[cfg(windows)] pub use funcs::extra::winsock::{ioctlsocket};
278279

src/librustc/metadata/csearch.rs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010

1111
// Searching for information from the cstore
1212

13-
#![allow(non_camel_case_types)]
14-
15-
pub use self::found_ast::*;
16-
1713
use metadata::common::*;
1814
use metadata::cstore;
1915
use metadata::decoder;
@@ -101,18 +97,18 @@ pub fn get_item_path(tcx: &ty::ctxt, def: ast::DefId) -> Vec<ast_map::PathElem>
10197
r
10298
}
10399

104-
pub enum found_ast<'ast> {
105-
found(&'ast ast::InlinedItem),
106-
found_parent(ast::DefId, &'ast ast::InlinedItem),
107-
not_found,
100+
pub enum FoundAst<'ast> {
101+
Found(&'ast ast::InlinedItem),
102+
FoundParent(ast::DefId, &'ast ast::InlinedItem),
103+
NotFound,
108104
}
109105

110106
// Finds the AST for this item in the crate metadata, if any. If the item was
111107
// not marked for inlining, then the AST will not be present and hence none
112108
// will be returned.
113109
pub fn maybe_get_item_ast<'tcx>(tcx: &ty::ctxt<'tcx>, def: ast::DefId,
114110
decode_inlined_item: decoder::DecodeInlinedItem)
115-
-> found_ast<'tcx> {
111+
-> FoundAst<'tcx> {
116112
let cstore = &tcx.sess.cstore;
117113
let cdata = cstore.get_crate_data(def.krate);
118114
decoder::maybe_get_item_ast(&*cdata, tcx, def.node, decode_inlined_item)

0 commit comments

Comments
 (0)