Skip to content

Commit 5b2af4b

Browse files
committed
---
yaml --- r: 209655 b: refs/heads/try c: be9a72b h: refs/heads/master i: 209653: 6f4f321 209651: 6e221d9 209647: c02c5b4 v: v3
1 parent d50615d commit 5b2af4b

40 files changed

+1304
-1687
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 2a24e97c80d5004cd1b57cb96a0bde6fe43a848d
5+
refs/heads/try: be9a72b9c1499f0583f172700ce4b7c0f3c861d3
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#
7777
# * `CFG_ENABLE_VALGRIND=1` - Run tests under valgrind
7878
# * `VALGRIND_COMPILE=1` - Run the compiler itself under valgrind
79-
# (may require `CFG_ENABLE_VALGRIND`)
79+
# (requires `CFG_ENABLE_VALGRIND`)
8080
#
8181
# * `NO_REBUILD=1` - Don't rebootstrap when testing std
8282
# (and possibly other crates)

branches/try/mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CFG_RELEASE_NUM=1.0.0
1818
# An optional number to put after the label, e.g. '.2' -> '-beta.2'
1919
# NB Make sure it starts with a dot to conform to semver pre-release
2020
# versions (section 9)
21-
CFG_PRERELEASE_VERSION=.2
21+
CFG_PRERELEASE_VERSION=.3
2222

2323
CFG_FILENAME_EXTRA=4e7c5e5c
2424

branches/try/mk/platform.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ endif
4646
# see https://blog.mozilla.org/jseward/2012/06/05/valgrind-now-supports-jemalloc-builds-directly/
4747
ifdef CFG_VALGRIND
4848
CFG_VALGRIND += --error-exitcode=100 \
49-
--soname-synonyms=somalloc=NONE \
49+
--fair-sched=try \
5050
--quiet \
51+
--soname-synonyms=somalloc=NONE \
5152
--suppressions=$(CFG_SRC_DIR)src/etc/x86.supp \
5253
$(OS_SUPP)
5354
ifdef CFG_ENABLE_HELGRIND

branches/try/src/doc/complement-design-faq.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,13 @@ particularly easy to read.
165165

166166
## Why is `let` used to introduce variables?
167167

168-
We don't use the term "variable", instead, we use "variable bindings". The
169-
simplest way for binding is the `let` syntax, other ways including `if let`,
170-
`while let` and `match`. Bindings also exist in function arguments positions.
168+
Instead of the term "variable", we use "variable bindings". The
169+
simplest way for creating a binding is by using the `let` syntax.
170+
Other ways include `if let`, `while let`, and `match`. Bindings also
171+
exist in function argument positions.
171172

172173
Bindings always happen in pattern matching positions, and it's also Rust's way
173-
to declare mutability. One can also redeclare mutability of a binding in
174+
to declare mutability. One can also re-declare mutability of a binding in
174175
pattern matching. This is useful to avoid unnecessary `mut` annotations. An
175176
interesting historical note is that Rust comes, syntactically, most closely
176177
from ML, which also uses `let` to introduce bindings.

branches/try/src/doc/complement-lang-faq.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ Let the fact that this is an easily countable number be a warning.
4242

4343
## Does it run on Windows?
4444

45-
Yes. All development happens in lockstep on all 3 target platforms (using MinGW, not Cygwin). Note that the Windows implementation currently has some limitations; in particular, the 64-bit build is [not fully supported yet][win64], and all executables created by rustc [depend on libgcc DLL at runtime][libgcc].
46-
47-
[win64]: https://github.com/rust-lang/rust/issues/1237
48-
[libgcc]: https://github.com/rust-lang/rust/issues/11782
45+
Yes. All development happens in lockstep on all 3 target platforms (using MinGW, not Cygwin).
4946

5047
## Is it OO? How do I do this thing I normally do in an OO language?
5148

@@ -124,7 +121,7 @@ Yes. Calling C code from Rust is simple and exactly as efficient as calling C co
124121

125122
Yes. The Rust code has to be exposed via an `extern` declaration, which makes it C-ABI compatible. Such a function can be passed to C code as a function pointer or, if given the `#[no_mangle]` attribute to disable symbol mangling, can be called directly from C code.
126123

127-
## Why aren't function signatures inferred? Why only local slots?
124+
## Why aren't function signatures inferred? Why only local variables?
128125

129126
* Mechanically, it simplifies the inference algorithm; inference only requires looking at one function at a time.
130127
* The same simplification goes double for human readers. A reader does not need an IDE running an inference algorithm across an entire crate to be able to guess at a function's argument types; it's always explicit and nearby.

branches/try/src/doc/grammar.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
This document is the primary reference for the Rust programming language grammar. It
66
provides only one kind of material:
77

8-
- Chapters that formally define the language grammar and, for each
9-
construct.
8+
- Chapters that formally define the language grammar.
109

1110
This document does not serve as an introduction to the language. Background
1211
familiarity with the language is assumed. A separate [guide] is available to
@@ -427,7 +426,7 @@ meta_seq : meta_item [ ',' meta_seq ] ? ;
427426
**FIXME:** grammar?
428427

429428
A _declaration statement_ is one that introduces one or more *names* into the
430-
enclosing statement block. The declared names may denote new slots or new
429+
enclosing statement block. The declared names may denote new variables or new
431430
items.
432431

433432
#### Item declarations
@@ -441,7 +440,7 @@ function, enumeration, structure, type, static, trait, implementation or module
441440
scope to a narrow region containing all of its uses; it is otherwise identical
442441
in meaning to declaring the item outside the statement block.
443442

444-
#### Slot declarations
443+
#### Variable declarations
445444

446445
```antlr
447446
let_decl : "let" pat [':' type ] ? [ init ] ? ';' ;
@@ -763,7 +762,7 @@ bound := path | lifetime
763762

764763
### Memory ownership
765764

766-
### Memory slots
765+
### Variables
767766

768767
### Boxes
769768

0 commit comments

Comments
 (0)