Skip to content

Commit 0b3051e

Browse files
committed
---
yaml --- r: 272852 b: refs/heads/beta c: a03222c h: refs/heads/master
1 parent e483175 commit 0b3051e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1424
-1978
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 80922a7ad8dfc2a774233a190d36f895d655a83c
26+
refs/heads/beta: a03222c2b16648c466f836d5eec425fc3c648aa4
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/mk/cfg/i686-pc-windows-gnu.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ CFG_GNU_TRIPLE_i686-pc-windows-gnu := i686-w64-mingw32
2525
CFG_THIRD_PARTY_OBJECTS_i686-pc-windows-gnu := crt2.o dllcrt2.o
2626
CFG_INSTALLED_OBJECTS_i686-pc-windows-gnu := crt2.o dllcrt2.o rsbegin.o rsend.o
2727
CFG_RUSTRT_HAS_STARTUP_OBJS_i686-pc-windows-gnu := 1
28+
# FIXME(#31030) - there's not a great reason to disable jemalloc here
29+
CFG_DISABLE_JEMALLOC_i686-pc-windows-gnu := 1

branches/beta/mk/cfg/x86_64-pc-windows-gnu.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ CFG_GNU_TRIPLE_x86_64-pc-windows-gnu := x86_64-w64-mingw32
2525
CFG_THIRD_PARTY_OBJECTS_x86_64-pc-windows-gnu := crt2.o dllcrt2.o
2626
CFG_INSTALLED_OBJECTS_x86_64-pc-windows-gnu := crt2.o dllcrt2.o rsbegin.o rsend.o
2727
CFG_RUSTRT_HAS_STARTUP_OBJS_x86_64-pc-windows-gnu := 1
28+
# FIXME(#31030) - there's not a great reason to disable jemalloc here
29+
CFG_DISABLE_JEMALLOC_x86_64-pc-windows-gnu := 1

branches/beta/src/bootstrap/build/sanity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub fn check(build: &mut Build) {
7979
}
8080

8181
// Make sure musl-root is valid if specified
82-
if target.contains("musl") && target.contains("x86_64") {
82+
if target.contains("musl") {
8383
match build.config.musl_root {
8484
Some(ref root) => {
8585
if fs::metadata(root.join("lib/libc.a")).is_err() {

branches/beta/src/doc/book/iterators.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ Now that you know more Rust, we can talk in detail about how this works.
1414
Ranges (the `0..10`) are 'iterators'. An iterator is something that we can
1515
call the `.next()` method on repeatedly, and it gives us a sequence of things.
1616

17-
(By the way, a range with two dots like `0..10` is inclusive on the left (so it
18-
starts at 0) and exclusive on the right (so it ends at 9). A mathematician
19-
would write "[0, 10)". To get a range that goes all the way up to 10 you can
20-
write `0...10`.)
21-
2217
Like this:
2318

2419
```rust

branches/beta/src/doc/book/syntax-index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@
6666
* `..` (`..`, `expr..`, `..expr`, `expr..expr`): right-exclusive range literal.
6767
* `..` (`..expr`): struct literal update syntax. See [Structs (Update syntax)].
6868
* `..` (`variant(x, ..)`, `struct_type { x, .. }`): "and the rest" pattern binding. See [Patterns (Ignoring bindings)].
69-
* `...` (`...expr`, `expr...expr`) *in an expression*: inclusive range expression. See [Iterators].
70-
* `...` (`expr...expr`) *in a pattern*: inclusive range pattern. See [Patterns (Ranges)].
69+
* `...` (`expr ... expr`): inclusive range pattern. See [Patterns (Ranges)].
7170
* `/` (`expr / expr`): arithmetic division. Overloadable (`Div`).
7271
* `/=` (`var /= expr`): arithmetic division & assignment.
7372
* `:` (`pat: type`, `ident: type`): constraints. See [Variable Bindings], [Functions], [Structs], [Traits].
@@ -206,7 +205,6 @@
206205
[Functions (Early Returns)]: functions.html#early-returns
207206
[Functions]: functions.html
208207
[Generics]: generics.html
209-
[Iterators]: iterators.html
210208
[Lifetimes]: lifetimes.html
211209
[Loops (`for`)]: loops.html#for
212210
[Loops (`loop`)]: loops.html#loop

branches/beta/src/doc/book/vectors.md

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -115,36 +115,6 @@ for i in v {
115115
}
116116
```
117117

118-
Note: You cannot use the vector again once you have iterated by taking ownership of the vector.
119-
You can iterate the vector multiple times by taking a reference to the vector whilst iterating.
120-
For example, the following code does not compile.
121-
122-
```rust,ignore
123-
let mut v = vec![1, 2, 3, 4, 5];
124-
125-
for i in v {
126-
println!("Take ownership of the vector and its element {}", i);
127-
}
128-
129-
for i in v {
130-
println!("Take ownership of the vector and its element {}", i);
131-
}
132-
```
133-
134-
Whereas the following works perfectly,
135-
136-
```rust
137-
let mut v = vec![1, 2, 3, 4, 5];
138-
139-
for i in &v {
140-
println!("This is a reference to {}", i);
141-
}
142-
143-
for i in &v {
144-
println!("This is a reference to {}", i);
145-
}
146-
```
147-
148118
Vectors have many more useful methods, which you can read about in [their
149119
API documentation][vec].
150120

branches/beta/src/doc/reference.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2277,10 +2277,6 @@ The currently implemented features of the reference compiler are:
22772277
`#[derive_Foo] #[derive_Bar]`, which can be user-defined syntax
22782278
extensions.
22792279

2280-
* `inclusive_range_syntax` - Allows use of the `a...b` and `...b` syntax for inclusive ranges.
2281-
2282-
* `inclusive_range` - Allows use of the types that represent desugared inclusive ranges.
2283-
22842280
* `intrinsics` - Allows use of the "rust-intrinsics" ABI. Compiler intrinsics
22852281
are inherently unstable and no promise about them is made.
22862282

@@ -2751,25 +2747,6 @@ let y = 0..10;
27512747
assert_eq!(x, y);
27522748
```
27532749

2754-
Similarly, the `...` operator will construct an object of one of the
2755-
`std::ops::RangeInclusive` variants.
2756-
2757-
```
2758-
# #![feature(inclusive_range_syntax)]
2759-
1...2; // std::ops::RangeInclusive
2760-
...4; // std::ops::RangeToInclusive
2761-
```
2762-
2763-
The following expressions are equivalent.
2764-
2765-
```
2766-
# #![feature(inclusive_range_syntax, inclusive_range)]
2767-
let x = std::ops::RangeInclusive::NonEmpty {start: 0, end: 10};
2768-
let y = 0...10;
2769-
2770-
assert_eq!(x, y);
2771-
```
2772-
27732750
### Unary operator expressions
27742751

27752752
Rust defines the following unary operators. They are all written as prefix operators,

branches/beta/src/jemalloc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit aab1c0a0e0b39825b16673128729ef46310a5da8
1+
Subproject commit e24a1a025a1f214e40eedafe3b9c7b1d69937922

branches/beta/src/libcollections/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#![feature(fmt_internals)]
4141
#![feature(fmt_radix)]
4242
#![feature(heap_api)]
43-
#![feature(inclusive_range)]
43+
#![feature(iter_arith)]
4444
#![feature(iter_arith)]
4545
#![feature(lang_items)]
4646
#![feature(nonzero)]

0 commit comments

Comments
 (0)