Skip to content

Commit 7d747db

Browse files
committed
Auto merge of rust-lang#79159 - pietroalbini:woops, r=pietroalbini
Revert rust-lang#79132 The beta promotion release was mistakenly landed on master instead of beta. Ugh. r? `@ghost` cc `@rust-lang/release`
2 parents c4f836a + 3853c0c commit 7d747db

File tree

4 files changed

+36
-31
lines changed

4 files changed

+36
-31
lines changed

src/bootstrap/dist.rs

+1-7
Original file line numberDiff line numberDiff line change
@@ -1336,13 +1336,7 @@ impl Step for Rls {
13361336
let rls = builder
13371337
.ensure(tool::Rls { compiler, target, extra_features: Vec::new() })
13381338
.or_else(|| {
1339-
// We ignore failure on aarch64 Windows because RLS currently
1340-
// fails to build, due to winapi 0.2 not supporting aarch64.
1341-
missing_tool(
1342-
"RLS",
1343-
builder.build.config.missing_tools
1344-
|| (target.triple.contains("aarch64") && target.triple.contains("windows")),
1345-
);
1339+
missing_tool("RLS", builder.build.config.missing_tools);
13461340
None
13471341
})?;
13481342

src/ci/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ fi
6363
#
6464
# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
6565
# either automatically or manually.
66-
export RUST_RELEASE_CHANNEL=beta
66+
export RUST_RELEASE_CHANNEL=nightly
6767

6868
# Always set the release channel for bootstrap; this is normally not important (i.e., only dist
6969
# builds would seem to matter) but in practice bootstrap wants to know whether we're targeting

src/stage0.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
# source tarball for a stable release you'll likely see `1.x.0` for rustc and
1313
# `0.(x+1).0` for Cargo where they were released on `date`.
1414

15-
date: 2020-11-16
16-
rustc: 1.48.0
17-
cargo: 1.48.0
15+
date: 2020-10-16
16+
rustc: beta
17+
cargo: beta
1818

1919
# We use a nightly rustfmt to format the source because it solves some
2020
# bootstrapping issues with use of new syntax in this repo. If you're looking at
2121
# the beta/stable branch, this key should be omitted, as we don't want to depend
2222
# on rustfmt from nightly there.
23-
#rustfmt: nightly-2020-10-12
23+
rustfmt: nightly-2020-10-12
2424

2525
# When making a stable release the process currently looks like:
2626
#
@@ -40,4 +40,4 @@ cargo: 1.48.0
4040
# looking at a beta source tarball and it's uncommented we'll shortly comment it
4141
# out.
4242

43-
dev: 1
43+
#dev: 1

src/test/ui-fulldeps/session-derive-errors.stderr

+29-18
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
error: `#[derive(SessionDiagnostic)]` can only be used on structs
22
--> $DIR/session-derive-errors.rs:28:1
33
|
4-
LL | #[error = "E0123"]
5-
| ^
4+
LL | / #[error = "E0123"]
5+
LL | |
6+
LL | | enum SessionDiagnosticOnEnum {
7+
LL | | Foo,
8+
LL | | Bar,
9+
LL | | }
10+
| |_^
611

712
error: `#[label = ...]` is not a valid SessionDiagnostic struct attribute
813
--> $DIR/session-derive-errors.rs:37:1
914
|
1015
LL | #[label = "This is in the wrong place"]
11-
| ^
16+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1217

1318
error: `#[suggestion = ...]` is not a valid SessionDiagnostic field attribute
1419
--> $DIR/session-derive-errors.rs:44:5
1520
|
1621
LL | #[suggestion = "this is the wrong kind of attribute"]
17-
| ^
22+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1823

1924
error: `error` specified multiple times
2025
--> $DIR/session-derive-errors.rs:52:11
@@ -32,21 +37,21 @@ error: `code` not specified
3237
--> $DIR/session-derive-errors.rs:67:1
3338
|
3439
LL | struct ErrorCodeNotProvided {}
35-
| ^^^^^^
40+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3641
|
3742
= help: use the [code = "..."] attribute to set this diagnostic's error code
3843

3944
error: the `#[message = "..."]` attribute can only be applied to fields of type Span
4045
--> $DIR/session-derive-errors.rs:95:5
4146
|
4247
LL | #[message = "this message is applied to a String field"]
43-
| ^
48+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4449

4550
error: `name` doesn't refer to a field on this type
4651
--> $DIR/session-derive-errors.rs:102:1
4752
|
4853
LL | #[message = "This error has a field, and references {name}"]
49-
| ^
54+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5055

5156
error: invalid format string: expected `'}'` but string was terminated
5257
--> $DIR/session-derive-errors.rs:110:1
@@ -72,53 +77,59 @@ error: The `#[label = ...]` attribute can only be applied to fields of type Span
7277
--> $DIR/session-derive-errors.rs:138:5
7378
|
7479
LL | #[label = "See here"]
75-
| ^
80+
| ^^^^^^^^^^^^^^^^^^^^^
7681

7782
error: `nonsense` is not a valid key for `#[suggestion(...)]`
7883
--> $DIR/session-derive-errors.rs:163:18
7984
|
8085
LL | #[suggestion(nonsense = "This is nonsense")]
81-
| ^^^^^^^^
86+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8287

8388
error: `msg` is not a valid key for `#[suggestion(...)]`
8489
--> $DIR/session-derive-errors.rs:171:18
8590
|
8691
LL | #[suggestion(msg = "This is a suggestion")]
87-
| ^^^
92+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8893

8994
error: missing suggestion message
9095
--> $DIR/session-derive-errors.rs:179:7
9196
|
9297
LL | #[suggestion(code = "This is suggested code")]
93-
| ^^^^^^^^^^
98+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9499
|
95100
= help: provide a suggestion message using #[suggestion(message = "...")]
96101

97102
error: wrong field type for suggestion
98103
--> $DIR/session-derive-errors.rs:194:5
99104
|
100-
LL | #[suggestion(message = "This is a message", code = "This is suggested code")]
101-
| ^
105+
LL | / #[suggestion(message = "This is a message", code = "This is suggested code")]
106+
LL | |
107+
LL | | suggestion: Applicability,
108+
| |_____________________________^
102109
|
103110
= help: #[suggestion(...)] should be applied to fields of type Span or (Span, Applicability)
104111

105112
error: type of field annotated with `#[suggestion(...)]` contains more than one Span
106113
--> $DIR/session-derive-errors.rs:209:5
107114
|
108-
LL | #[suggestion(message = "This is a message", code = "This is suggested code")]
109-
| ^
115+
LL | / #[suggestion(message = "This is a message", code = "This is suggested code")]
116+
LL | |
117+
LL | | suggestion: (Span, Span, Applicability),
118+
| |___________________________________________^
110119

111120
error: type of field annotated with `#[suggestion(...)]` contains more than one Applicability
112121
--> $DIR/session-derive-errors.rs:217:5
113122
|
114-
LL | #[suggestion(message = "This is a message", code = "This is suggested code")]
115-
| ^
123+
LL | / #[suggestion(message = "This is a message", code = "This is suggested code")]
124+
LL | |
125+
LL | | suggestion: (Applicability, Applicability, Span),
126+
| |____________________________________________________^
116127

117128
error: invalid annotation list `#[label(...)]`
118129
--> $DIR/session-derive-errors.rs:225:7
119130
|
120131
LL | #[label("wrong kind of annotation for label")]
121-
| ^^^^^
132+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
122133

123134
error: aborting due to 18 previous errors
124135

0 commit comments

Comments
 (0)