Skip to content

Commit 63fc9bb

Browse files
committed
---
yaml --- r: 216195 b: refs/heads/stable c: 15c3435 h: refs/heads/master i: 216193: 5994706 216191: 1beccef v: v3
1 parent 67b729e commit 63fc9bb

File tree

82 files changed

+854
-1386
lines changed

Some content is hidden

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

82 files changed

+854
-1386
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ refs/heads/tmp: 378a370ff2057afeb1eae86eb6e78c476866a4a6
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: a5286998df566e736b32f6795bfc3803bdaf453d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: a7413ffe19364d4ff0f91b1eec08473aa85e2f67
32+
refs/heads/stable: 15c3435b87db2dbdfd564ab13e90b73aadd84737
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375

branches/stable/mk/tests.mk

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -753,22 +753,20 @@ PRETTY_DEPS_pretty-rpass-full = $(RPASS_FULL_TESTS)
753753
PRETTY_DEPS_pretty-rfail = $(RFAIL_TESTS)
754754
PRETTY_DEPS_pretty-bench = $(BENCH_TESTS)
755755
PRETTY_DEPS_pretty-pretty = $(PRETTY_TESTS)
756+
# The stage- and host-specific dependencies are for e.g. macro_crate_test which pulls in
757+
# external crates.
758+
PRETTY_DEPS$(1)_H_$(3)_pretty-rpass =
759+
PRETTY_DEPS$(1)_H_$(3)_pretty-rpass-full = $$(HLIB$(1)_H_$(3))/stamp.syntax $$(HLIB$(1)_H_$(3))/stamp.rustc
760+
PRETTY_DEPS$(1)_H_$(3)_pretty-rfail =
761+
PRETTY_DEPS$(1)_H_$(3)_pretty-bench =
762+
PRETTY_DEPS$(1)_H_$(3)_pretty-pretty =
756763
PRETTY_DIRNAME_pretty-rpass = run-pass
757764
PRETTY_DIRNAME_pretty-rpass-valgrind = run-pass-valgrind
758765
PRETTY_DIRNAME_pretty-rpass-full = run-pass-fulldeps
759766
PRETTY_DIRNAME_pretty-rfail = run-fail
760767
PRETTY_DIRNAME_pretty-bench = bench
761768
PRETTY_DIRNAME_pretty-pretty = pretty
762769

763-
define DEF_PRETTY_FULLDEPS
764-
PRETTY_DEPS$(1)_T_$(2)_H_$(3)_pretty-rpass-full = $$(CSREQ$(1)_T_$(3)_H_$(3))
765-
endef
766-
767-
$(foreach host,$(CFG_HOST), \
768-
$(foreach target,$(CFG_TARGET), \
769-
$(foreach stage,$(STAGES), \
770-
$(eval $(call DEF_PRETTY_FULLDEPS,$(stage),$(target),$(host))))))
771-
772770
define DEF_RUN_PRETTY_TEST
773771

774772
PRETTY_ARGS$(1)-T-$(2)-H-$(3)-$(4) := \
@@ -782,7 +780,7 @@ check-stage$(1)-T-$(2)-H-$(3)-$(4)-exec: $$(call TEST_OK_FILE,$(1),$(2),$(3),$(4
782780
$$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
783781
$$(TEST_SREQ$(1)_T_$(2)_H_$(3)) \
784782
$$(PRETTY_DEPS_$(4)) \
785-
$$(PRETTY_DEPS$(1)_T_$(2)_H_$(3)_$(4))
783+
$$(PRETTY_DEPS$(1)_H_$(3)_$(4))
786784
@$$(call E, run pretty-rpass [$(2)]: $$<)
787785
$$(Q)touch $$@.start_time
788786
$$(Q)$$(call CFG_RUN_CTEST_$(2),$(1),$$<,$(3)) \

branches/stable/src/compiletest/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,7 @@ fn make_out_name(config: &Config, testfile: &Path, extension: &str) -> PathBuf {
14651465
fn aux_output_dir_name(config: &Config, testfile: &Path) -> PathBuf {
14661466
let f = output_base_name(config, testfile);
14671467
let mut fname = f.file_name().unwrap().to_os_string();
1468-
fname.push(&format!(".{}.libaux", config.mode));
1468+
fname.push("libaux");
14691469
f.with_file_name(&fname)
14701470
}
14711471

branches/stable/src/doc/grammar.md

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -152,19 +152,19 @@ token : simple_token | ident | literal | symbol | whitespace token ;
152152

153153
<p id="keyword-table-marker"></p>
154154

155-
| | | | | |
156-
|----------|----------|----------|----------|---------|
157-
| abstract | alignof | as | become | box |
158-
| break | const | continue | crate | do |
159-
| else | enum | extern | false | final |
160-
| fn | for | if | impl | in |
161-
| let | loop | macro | match | mod |
162-
| move | mut | offsetof | override | priv |
163-
| proc | pub | pure | ref | return |
164-
| Self | self | sizeof | static | struct |
165-
| super | trait | true | type | typeof |
166-
| unsafe | unsized | use | virtual | where |
167-
| while | yield | | | |
155+
| | | | | |
156+
|----------|----------|----------|----------|--------|
157+
| abstract | alignof | as | become | box |
158+
| break | const | continue | crate | do |
159+
| else | enum | extern | false | final |
160+
| fn | for | if | impl | in |
161+
| let | loop | match | mod | move |
162+
| mut | offsetof | once | override | priv |
163+
| proc | pub | pure | ref | return |
164+
| sizeof | static | self | struct | super |
165+
| true | trait | type | typeof | unsafe |
166+
| unsized | use | virtual | where | while |
167+
| yield | | | | |
168168

169169

170170
Each of these keywords has special meaning in its grammar, and all of them are
@@ -524,15 +524,6 @@ array_elems : [expr [',' expr]*] | [expr ',' ".." expr] ;
524524
idx_expr : expr '[' expr ']' ;
525525
```
526526

527-
### Range expressions
528-
529-
```antlr
530-
range_expr : expr ".." expr |
531-
expr ".." |
532-
".." expr |
533-
".." ;
534-
```
535-
536527
### Unary operator expressions
537528

538529
**FIXME:** grammar?
@@ -619,7 +610,7 @@ lambda_expr : '|' ident_list '|' expr ;
619610
### While loops
620611

621612
```antlr
622-
while_expr : [ lifetime ':' ] "while" no_struct_literal_expr '{' block '}' ;
613+
while_expr : "while" no_struct_literal_expr '{' block '}' ;
623614
```
624615

625616
### Infinite loops
@@ -643,7 +634,7 @@ continue_expr : "continue" [ lifetime ];
643634
### For expressions
644635

645636
```antlr
646-
for_expr : [ lifetime ':' ] "for" pat "in" no_struct_literal_expr '{' block '}' ;
637+
for_expr : "for" pat "in" no_struct_literal_expr '{' block '}' ;
647638
```
648639

649640
### If expressions

0 commit comments

Comments
 (0)