Skip to content

Commit d9a56eb

Browse files
committed
---
yaml --- r: 183509 b: refs/heads/beta c: 005a250 h: refs/heads/master i: 183507: 7cd7396 v: v3
1 parent 17c5562 commit d9a56eb

File tree

282 files changed

+4185
-12669
lines changed

Some content is hidden

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

282 files changed

+4185
-12669
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: 5be210c4188fb2f1a4fabc6baee5397ac6e6741e
34+
refs/heads/beta: 005a2506a6331cf636f7fc106587554adb152713
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3737
refs/heads/tmp: eb836bf767aa1d8d4cba488a9091cde3c0ab4b2f

branches/beta/configure

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,8 +1379,7 @@ do
13791379
done
13801380

13811381
# Munge any paths that appear in config.mk back to posix-y
1382-
cp config.tmp config.tmp.bak
1383-
sed -e 's@ \([a-zA-Z]\):[/\\]@ /\1/@g;' <config.tmp.bak >config.tmp
1382+
sed -i.bak -e 's@ \([a-zA-Z]\):[/\\]@ /\1/@g;' config.tmp
13841383
rm -f config.tmp.bak
13851384

13861385
msg

branches/beta/mk/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ endif
8787

8888
# Check for xelatex
8989

90-
ifneq ($(CFG_XELATEX),)
90+
ifeq ($(CFG_XELATEX),)
9191
CFG_LATEX := $(CFG_XELATEX)
9292
XELATEX = 1
9393
else

branches/beta/src/compiletest/compiletest.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#![feature(collections)]
1515
#![feature(int_uint)]
1616
#![feature(io)]
17+
#![feature(os)]
1718
#![feature(path)]
1819
#![feature(rustc_private)]
1920
#![feature(slicing_syntax, unboxed_closures)]
@@ -47,7 +48,8 @@ pub mod common;
4748
pub mod errors;
4849

4950
pub fn main() {
50-
let config = parse_config(env::args().collect());
51+
let args = env::args().map(|s| s.into_string().unwrap()).collect();;
52+
let config = parse_config(args);
5153

5254
if config.valgrind_path.is_none() && config.force_valgrind {
5355
panic!("Can't find Valgrind to run Valgrind tests");

branches/beta/src/compiletest/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub fn make_new_path(path: &str) -> String {
4040

4141
// Windows just uses PATH as the library search path, so we have to
4242
// maintain the current value while adding our own
43-
match env::var(lib_path_env_var()) {
43+
match env::var_string(lib_path_env_var()) {
4444
Ok(curr) => {
4545
format!("{}{}{}", path, path_div(), curr)
4646
}

branches/beta/src/doc/reference.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3005,7 +3005,7 @@ Some examples of call expressions:
30053005
# fn add(x: i32, y: i32) -> i32 { 0 }
30063006
30073007
let x: i32 = add(1i32, 2i32);
3008-
let pi: Result<f32, _> = "3.14".parse();
3008+
let pi: Option<f32> = "3.14".parse().ok();
30093009
```
30103010

30113011
### Lambda expressions
@@ -3148,7 +3148,7 @@ An example of a for loop over a series of integers:
31483148

31493149
```
31503150
# fn bar(b:usize) { }
3151-
for i in 0us..256 {
3151+
for i in range(0us, 256) {
31523152
bar(i);
31533153
}
31543154
```
@@ -3196,7 +3196,6 @@ stands for a *single* data field, whereas a wildcard `..` stands for *all* the
31963196
fields of a particular variant. For example:
31973197

31983198
```
3199-
#![feature(box_patterns)]
32003199
#![feature(box_syntax)]
32013200
enum List<X> { Nil, Cons(X, Box<List<X>>) }
32023201
@@ -3260,7 +3259,6 @@ the inside of the match.
32603259
An example of a `match` expression:
32613260

32623261
```
3263-
#![feature(box_patterns)]
32643262
#![feature(box_syntax)]
32653263
# fn process_pair(a: i32, b: i32) { }
32663264
# fn process_ten() { }
@@ -3296,7 +3294,6 @@ Subpatterns can also be bound to variables by the use of the syntax `variable @
32963294
subpattern`. For example:
32973295

32983296
```
3299-
#![feature(box_patterns)]
33003297
#![feature(box_syntax)]
33013298
33023299
enum List { Nil, Cons(uint, Box<List>) }
@@ -3532,7 +3529,7 @@ An example of each kind:
35323529
```{rust}
35333530
let vec: Vec<i32> = vec![1, 2, 3];
35343531
let arr: [i32; 3] = [1, 2, 3];
3535-
let s: &[i32] = &vec[];
3532+
let s: &[i32] = &vec;
35363533
```
35373534

35383535
As you can see, the `vec!` macro allows you to create a `Vec<T>` easily. The

branches/beta/src/doc/trpl/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ chapters focus on the most complex features, as well as some things that
3333
are only available in upcoming versions of Rust.
3434

3535
After reading "Advanced," you'll be a Rust expert!
36+
37+
<h2 class="section-header"><a href="internals.html">Internals</a></h2>
38+
39+
This section is full of documentaion of compiler internals. Here be dragons.

branches/beta/src/doc/trpl/SUMMARY.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Summary
22

3-
* [I: The Basics](basic.md)
3+
* [The Basics](basic.md)
44
* [Installing Rust](installing-rust.md)
55
* [Hello, world!](hello-world.md)
66
* [Hello, Cargo!](hello-cargo.md)
@@ -15,7 +15,7 @@
1515
* [Arrays, Vectors, and Slices](arrays-vectors-and-slices.md)
1616
* [Standard Input](standard-input.md)
1717
* [Guessing Game](guessing-game.md)
18-
* [II: Intermediate Rust](intermediate.md)
18+
* [Intermediate Rust](intermediate.md)
1919
* [More Strings](more-strings.md)
2020
* [Crates and Modules](crates-and-modules.md)
2121
* [Testing](testing.md)
@@ -31,9 +31,16 @@
3131
* [Concurrency](concurrency.md)
3232
* [Error Handling](error-handling.md)
3333
* [Documentation](documentation.md)
34-
* [III: Advanced Topics](advanced.md)
34+
* [Advanced Topics](advanced.md)
3535
* [FFI](ffi.md)
3636
* [Unsafe Code](unsafe.md)
3737
* [Macros](macros.md)
3838
* [Compiler Plugins](plugins.md)
39+
* [Compiler Internals](internals.md)
40+
* [Borrow Checker](borrow-checker.md)
41+
* [Trait Resolution](trait-resolution.md)
42+
* [Inference](inference.md)
43+
* [Higher Ranked Items](higher-ranked-items.md)
44+
* [Region Inference](region-inference.md)
45+
* [Method Lookup](method-lookup.md)
3946
* [Conclusion](conclusion.md)

0 commit comments

Comments
 (0)