Skip to content

Commit bcad406

Browse files
committed
Auto merge of rust-lang#77635 - Mark-Simulacrum:beta-next, r=Mark-Simulacrum
[beta] 1.48.0 beta branch r? `@ghost`
2 parents 6ebad43 + 7538607 commit bcad406

File tree

3 files changed

+22
-33
lines changed

3 files changed

+22
-33
lines changed

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=nightly
66+
export RUST_RELEASE_CHANNEL=beta
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-08-26
16-
rustc: beta
17-
cargo: beta
15+
date: 2020-10-06
16+
rustc: 1.47.0
17+
cargo: 0.48.0
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-07-12
23+
# rustfmt: nightly-2020-07-12
2424

2525
# When making a stable release the process currently looks like:
2626
#
@@ -40,4 +40,4 @@ rustfmt: nightly-2020-07-12
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

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

127
error: `#[label = ...]` is not a valid SessionDiagnostic struct attribute
138
--> $DIR/session-derive-errors.rs:37:1
@@ -19,7 +14,7 @@ error: `#[suggestion = ...]` is not a valid SessionDiagnostic field attribute
1914
--> $DIR/session-derive-errors.rs:44:5
2015
|
2116
LL | #[suggestion = "this is the wrong kind of attribute"]
22-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17+
| ^
2318

2419
error: `error` specified multiple times
2520
--> $DIR/session-derive-errors.rs:52:11
@@ -37,15 +32,15 @@ error: `code` not specified
3732
--> $DIR/session-derive-errors.rs:67:1
3833
|
3934
LL | struct ErrorCodeNotProvided {}
40-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35+
| ^^^^^^
4136
|
4237
= help: use the [code = "..."] attribute to set this diagnostic's error code
4338

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

5045
error: `name` doesn't refer to a field on this type
5146
--> $DIR/session-derive-errors.rs:102:1
@@ -77,59 +72,53 @@ error: The `#[label = ...]` attribute can only be applied to fields of type Span
7772
--> $DIR/session-derive-errors.rs:138:5
7873
|
7974
LL | #[label = "See here"]
80-
| ^^^^^^^^^^^^^^^^^^^^^
75+
| ^
8176

8277
error: `nonsense` is not a valid key for `#[suggestion(...)]`
8378
--> $DIR/session-derive-errors.rs:163:18
8479
|
8580
LL | #[suggestion(nonsense = "This is nonsense")]
86-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
81+
| ^^^^^^^^
8782

8883
error: `msg` is not a valid key for `#[suggestion(...)]`
8984
--> $DIR/session-derive-errors.rs:171:18
9085
|
9186
LL | #[suggestion(msg = "This is a suggestion")]
92-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
87+
| ^^^
9388

9489
error: missing suggestion message
9590
--> $DIR/session-derive-errors.rs:179:7
9691
|
9792
LL | #[suggestion(code = "This is suggested code")]
98-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
93+
| ^^^^^^^^^^
9994
|
10095
= help: provide a suggestion message using #[suggestion(message = "...")]
10196

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

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

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

128117
error: invalid annotation list `#[label(...)]`
129118
--> $DIR/session-derive-errors.rs:225:7
130119
|
131120
LL | #[label("wrong kind of annotation for label")]
132-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
121+
| ^^^^^
133122

134123
error: aborting due to 18 previous errors
135124

0 commit comments

Comments
 (0)