Skip to content

Commit 49a76c1

Browse files
authored
Rollup merge of rust-lang#132376 - ehuss:reference-input, r=traviscross
Annotate `input` reference tests This adds test annotations for rules in the [input chapter](https://doc.rust-lang.org/nightly/reference/input-format.html) of the reference.
2 parents 39086e4 + 37c3884 commit 49a76c1

22 files changed

+55
-33
lines changed

Diff for: tests/ui/json/json-bom-plus-crlf-multifile.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// (This line has BOM so it's ignored by compiletest for directives)
22
//
33
//@ compile-flags: --json=diagnostic-short --error-format=json
4+
//@ reference: input.byte-order-mark
5+
//@ reference: input.crlf
46
// ignore-tidy-cr
57

68
#[path = "json-bom-plus-crlf-multifile-aux.rs"]

Diff for: tests/ui/json/json-bom-plus-crlf.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// (This line has BOM so it's ignored by compiletest for directives)
22
//
33
//@ compile-flags: --json=diagnostic-short --error-format=json
4+
//@ reference: input.byte-order-mark
5+
//@ reference: input.crlf
46
// ignore-tidy-cr
57

68
// For easier verifying, the byte offsets in this file should match those

Diff for: tests/ui/json/json-bom-plus-crlf.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This error occurs when an expression was used in a place where the compiler
2424
expected an expression of a different type. It can occur in several cases, the
2525
most common being when calling a function and passing an argument which has a
2626
different type than the matching type in the function declaration.
27-
"},"level":"error","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":607,"byte_end":608,"line_start":16,"line_end":16,"column_start":22,"column_end":23,"is_primary":true,"text":[{"text":" let s : String = 1; // Error in the middle of line.","highlight_start":22,"highlight_end":23}],"label":"expected `String`, found integer","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":598,"byte_end":604,"line_start":16,"line_end":16,"column_start":13,"column_end":19,"is_primary":false,"text":[{"text":" let s : String = 1; // Error in the middle of line.","highlight_start":13,"highlight_end":19}],"label":"expected due to this","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try using a conversion method","code":null,"level":"help","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":608,"byte_end":608,"line_start":16,"line_end":16,"column_start":23,"column_end":23,"is_primary":true,"text":[{"text":" let s : String = 1; // Error in the middle of line.","highlight_start":23,"highlight_end":23}],"label":null,"suggested_replacement":".to_string()","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"$DIR/json-bom-plus-crlf.rs:16:22: error[E0308]: mismatched types: expected `String`, found integer
27+
"},"level":"error","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":672,"byte_end":673,"line_start":18,"line_end":18,"column_start":22,"column_end":23,"is_primary":true,"text":[{"text":" let s : String = 1; // Error in the middle of line.","highlight_start":22,"highlight_end":23}],"label":"expected `String`, found integer","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":663,"byte_end":669,"line_start":18,"line_end":18,"column_start":13,"column_end":19,"is_primary":false,"text":[{"text":" let s : String = 1; // Error in the middle of line.","highlight_start":13,"highlight_end":19}],"label":"expected due to this","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try using a conversion method","code":null,"level":"help","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":673,"byte_end":673,"line_start":18,"line_end":18,"column_start":23,"column_end":23,"is_primary":true,"text":[{"text":" let s : String = 1; // Error in the middle of line.","highlight_start":23,"highlight_end":23}],"label":null,"suggested_replacement":".to_string()","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"$DIR/json-bom-plus-crlf.rs:18:22: error[E0308]: mismatched types: expected `String`, found integer
2828
"}
2929
{"$message_type":"diagnostic","message":"mismatched types","code":{"code":"E0308","explanation":"Expected type did not match the received type.
3030

@@ -52,7 +52,7 @@ This error occurs when an expression was used in a place where the compiler
5252
expected an expression of a different type. It can occur in several cases, the
5353
most common being when calling a function and passing an argument which has a
5454
different type than the matching type in the function declaration.
55-
"},"level":"error","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":667,"byte_end":668,"line_start":18,"line_end":18,"column_start":22,"column_end":23,"is_primary":true,"text":[{"text":" let s : String = 1","highlight_start":22,"highlight_end":23}],"label":"expected `String`, found integer","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":658,"byte_end":664,"line_start":18,"line_end":18,"column_start":13,"column_end":19,"is_primary":false,"text":[{"text":" let s : String = 1","highlight_start":13,"highlight_end":19}],"label":"expected due to this","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try using a conversion method","code":null,"level":"help","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":668,"byte_end":668,"line_start":18,"line_end":18,"column_start":23,"column_end":23,"is_primary":true,"text":[{"text":" let s : String = 1","highlight_start":23,"highlight_end":23}],"label":null,"suggested_replacement":".to_string()","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"$DIR/json-bom-plus-crlf.rs:18:22: error[E0308]: mismatched types: expected `String`, found integer
55+
"},"level":"error","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":732,"byte_end":733,"line_start":20,"line_end":20,"column_start":22,"column_end":23,"is_primary":true,"text":[{"text":" let s : String = 1","highlight_start":22,"highlight_end":23}],"label":"expected `String`, found integer","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":723,"byte_end":729,"line_start":20,"line_end":20,"column_start":13,"column_end":19,"is_primary":false,"text":[{"text":" let s : String = 1","highlight_start":13,"highlight_end":19}],"label":"expected due to this","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try using a conversion method","code":null,"level":"help","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":733,"byte_end":733,"line_start":20,"line_end":20,"column_start":23,"column_end":23,"is_primary":true,"text":[{"text":" let s : String = 1","highlight_start":23,"highlight_end":23}],"label":null,"suggested_replacement":".to_string()","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"$DIR/json-bom-plus-crlf.rs:20:22: error[E0308]: mismatched types: expected `String`, found integer
5656
"}
5757
{"$message_type":"diagnostic","message":"mismatched types","code":{"code":"E0308","explanation":"Expected type did not match the received type.
5858

@@ -80,7 +80,7 @@ This error occurs when an expression was used in a place where the compiler
8080
expected an expression of a different type. It can occur in several cases, the
8181
most common being when calling a function and passing an argument which has a
8282
different type than the matching type in the function declaration.
83-
"},"level":"error","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":731,"byte_end":732,"line_start":22,"line_end":22,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"1; // Error after the newline.","highlight_start":1,"highlight_end":2}],"label":"expected `String`, found integer","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":721,"byte_end":727,"line_start":21,"line_end":21,"column_start":13,"column_end":19,"is_primary":false,"text":[{"text":" let s : String =","highlight_start":13,"highlight_end":19}],"label":"expected due to this","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try using a conversion method","code":null,"level":"help","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":732,"byte_end":732,"line_start":22,"line_end":22,"column_start":2,"column_end":2,"is_primary":true,"text":[{"text":"1; // Error after the newline.","highlight_start":2,"highlight_end":2}],"label":null,"suggested_replacement":".to_string()","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"$DIR/json-bom-plus-crlf.rs:22:1: error[E0308]: mismatched types: expected `String`, found integer
83+
"},"level":"error","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":796,"byte_end":797,"line_start":24,"line_end":24,"column_start":1,"column_end":2,"is_primary":true,"text":[{"text":"1; // Error after the newline.","highlight_start":1,"highlight_end":2}],"label":"expected `String`, found integer","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":786,"byte_end":792,"line_start":23,"line_end":23,"column_start":13,"column_end":19,"is_primary":false,"text":[{"text":" let s : String =","highlight_start":13,"highlight_end":19}],"label":"expected due to this","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"try using a conversion method","code":null,"level":"help","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":797,"byte_end":797,"line_start":24,"line_end":24,"column_start":2,"column_end":2,"is_primary":true,"text":[{"text":"1; // Error after the newline.","highlight_start":2,"highlight_end":2}],"label":null,"suggested_replacement":".to_string()","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"$DIR/json-bom-plus-crlf.rs:24:1: error[E0308]: mismatched types: expected `String`, found integer
8484
"}
8585
{"$message_type":"diagnostic","message":"mismatched types","code":{"code":"E0308","explanation":"Expected type did not match the received type.
8686

@@ -108,7 +108,7 @@ This error occurs when an expression was used in a place where the compiler
108108
expected an expression of a different type. It can occur in several cases, the
109109
most common being when calling a function and passing an argument which has a
110110
different type than the matching type in the function declaration.
111-
"},"level":"error","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":787,"byte_end":795,"line_start":24,"line_end":25,"column_start":22,"column_end":6,"is_primary":true,"text":[{"text":" let s : String = (","highlight_start":22,"highlight_end":23},{"text":" ); // Error spanning the newline.","highlight_start":1,"highlight_end":6}],"label":"expected `String`, found `()`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":778,"byte_end":784,"line_start":24,"line_end":24,"column_start":13,"column_end":19,"is_primary":false,"text":[{"text":" let s : String = (","highlight_start":13,"highlight_end":19}],"label":"expected due to this","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"$DIR/json-bom-plus-crlf.rs:24:22: error[E0308]: mismatched types: expected `String`, found `()`
111+
"},"level":"error","spans":[{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":852,"byte_end":860,"line_start":26,"line_end":27,"column_start":22,"column_end":6,"is_primary":true,"text":[{"text":" let s : String = (","highlight_start":22,"highlight_end":23},{"text":" ); // Error spanning the newline.","highlight_start":1,"highlight_end":6}],"label":"expected `String`, found `()`","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"$DIR/json-bom-plus-crlf.rs","byte_start":843,"byte_end":849,"line_start":26,"line_end":26,"column_start":13,"column_end":19,"is_primary":false,"text":[{"text":" let s : String = (","highlight_start":13,"highlight_end":19}],"label":"expected due to this","suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"$DIR/json-bom-plus-crlf.rs:26:22: error[E0308]: mismatched types: expected `String`, found `()`
112112
"}
113113
{"$message_type":"diagnostic","message":"aborting due to 4 previous errors","code":null,"level":"error","spans":[],"children":[],"rendered":"error: aborting due to 4 previous errors
114114
"}

Diff for: tests/ui/lexer/lexer-crlf-line-endings-string-literal-doc-comment.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ run-pass
2+
//@ reference: input.crlf
23
// ignore-tidy-cr
34
// ignore-tidy-cr (repeated again because of tidy bug)
45
// license is ignored because tidy can't handle the CRLF here properly.

Diff for: tests/ui/macros/not-utf8.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//@ error-pattern: did not contain valid UTF-8
2+
//@ reference: input.encoding.utf8
3+
//@ reference: input.encoding.invalid
24

35
fn foo() {
46
include!("not-utf8.bin")

Diff for: tests/ui/macros/not-utf8.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: couldn't read $DIR/not-utf8.bin: stream did not contain valid UTF-8
2-
--> $DIR/not-utf8.rs:4:5
2+
--> $DIR/not-utf8.rs:6:5
33
|
44
LL | include!("not-utf8.bin")
55
| ^^^^^^^^^^^^^^^^^^^^^^^^

Diff for: tests/ui/parser/shebang/issue-71471-ignore-tidy.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11

22
#!B //~ expected `[`, found `B`
3+
4+
//@ reference: input.shebang

Diff for: tests/ui/parser/shebang/multiline-attrib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!
22
[allow(unused_variables)]
33
//@ check-pass
4+
//@ reference: input.shebang.inner-attribute
45

56
fn main() {
67
let x = 5;

Diff for: tests/ui/parser/shebang/regular-attrib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![allow(unused_variables)]
22
//@ check-pass
3+
//@ reference: input.shebang.inner-attribute
34
fn main() {
45
let x = 5;
56
}

Diff for: tests/ui/parser/shebang/shebang-and-attrib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env run-cargo-script
22

33
//@ check-pass
4+
//@ reference: input.shebang.inner-attribute
45
#![allow(unused_variables)]
56

67

Diff for: tests/ui/parser/shebang/shebang-comment.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!//bin/bash
22

33
//@ check-pass
4+
//@ reference: input.shebang
45
fn main() {
56
println!("a valid shebang (that is also a rust comment)")
67
}

Diff for: tests/ui/parser/shebang/shebang-doc-comment.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!///bin/bash
22
[allow(unused_variables)]
33
//~^ ERROR expected item, found `[`
4+
5+
//@ reference: input.shebang.inner-attribute

Diff for: tests/ui/parser/shebang/shebang-empty.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!
22

33
//@ check-pass
4+
//@ reference: input.shebang
45
fn main() {}

Diff for: tests/ui/parser/shebang/shebang-must-start-file.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// something on the first line for tidy
22
#!/bin/bash //~ expected `[`, found `/`
33

4+
//@ reference: input.shebang
5+
46
fn main() {
57
println!("ok!");
68
}

Diff for: tests/ui/parser/shebang/shebang-space.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!
22

33
//@ check-pass
4+
//@ reference: input.shebang
45
// ignore-tidy-end-whitespace
56
fn main() {}

Diff for: tests/ui/parser/shebang/sneaky-attrib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
[allow(unused_variables)]
1212
1313
//@ check-pass
14+
//@ reference: input.shebang.inner-attribute
1415
fn main() {
1516
let x = 5;
1617
}

Diff for: tests/ui/parser/shebang/valid-shebang.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env run-cargo-script
22

33
//@ check-pass
4+
//@ reference: input.shebang
45
fn main() {
56
println!("Hello World!");
67
}

Diff for: tests/ui/parser/utf16-be-without-bom.rs

35 Bytes
Binary file not shown.

Diff for: tests/ui/parser/utf16-be-without-bom.stderr

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,109 @@
11
error: unknown start of token: \u{0}
2-
--> $DIR/utf16-be-without-bom.rs:4:1
2+
--> $DIR/utf16-be-without-bom.rs:5:1
33
|
44
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
55
| ^
66
|
77
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
88

99
error: unknown start of token: \u{0}
10-
--> $DIR/utf16-be-without-bom.rs:4:3
10+
--> $DIR/utf16-be-without-bom.rs:5:3
1111
|
1212
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
1313
| ^
1414
|
1515
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
1616

1717
error: unknown start of token: \u{0}
18-
--> $DIR/utf16-be-without-bom.rs:4:5
18+
--> $DIR/utf16-be-without-bom.rs:5:5
1919
|
2020
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
2121
| ^
2222
|
2323
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
2424

2525
error: unknown start of token: \u{0}
26-
--> $DIR/utf16-be-without-bom.rs:4:7
26+
--> $DIR/utf16-be-without-bom.rs:5:7
2727
|
2828
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
2929
| ^
3030
|
3131
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
3232

3333
error: unknown start of token: \u{0}
34-
--> $DIR/utf16-be-without-bom.rs:4:9
34+
--> $DIR/utf16-be-without-bom.rs:5:9
3535
|
3636
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
3737
| ^
3838
|
3939
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
4040

4141
error: unknown start of token: \u{0}
42-
--> $DIR/utf16-be-without-bom.rs:4:11
42+
--> $DIR/utf16-be-without-bom.rs:5:11
4343
|
4444
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
4545
| ^
4646
|
4747
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
4848

4949
error: unknown start of token: \u{0}
50-
--> $DIR/utf16-be-without-bom.rs:4:13
50+
--> $DIR/utf16-be-without-bom.rs:5:13
5151
|
5252
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
5353
| ^
5454
|
5555
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
5656

5757
error: unknown start of token: \u{0}
58-
--> $DIR/utf16-be-without-bom.rs:4:15
58+
--> $DIR/utf16-be-without-bom.rs:5:15
5959
|
6060
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
6161
| ^
6262
|
6363
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
6464

6565
error: unknown start of token: \u{0}
66-
--> $DIR/utf16-be-without-bom.rs:4:17
66+
--> $DIR/utf16-be-without-bom.rs:5:17
6767
|
6868
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
6969
| ^
7070
|
7171
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
7272

7373
error: unknown start of token: \u{0}
74-
--> $DIR/utf16-be-without-bom.rs:4:19
74+
--> $DIR/utf16-be-without-bom.rs:5:19
7575
|
7676
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
7777
| ^
7878
|
7979
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
8080

8181
error: unknown start of token: \u{0}
82-
--> $DIR/utf16-be-without-bom.rs:4:21
82+
--> $DIR/utf16-be-without-bom.rs:5:21
8383
|
8484
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
8585
| ^
8686
|
8787
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
8888

8989
error: unknown start of token: \u{0}
90-
--> $DIR/utf16-be-without-bom.rs:4:23
90+
--> $DIR/utf16-be-without-bom.rs:5:23
9191
|
9292
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
9393
| ^
9494
|
9595
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
9696

9797
error: unknown start of token: \u{0}
98-
--> $DIR/utf16-be-without-bom.rs:4:25
98+
--> $DIR/utf16-be-without-bom.rs:5:25
9999
|
100100
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
101101
| ^
102102
|
103103
= help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
104104

105105
error: expected one of `!` or `::`, found `n`
106-
--> $DIR/utf16-be-without-bom.rs:4:4
106+
--> $DIR/utf16-be-without-bom.rs:5:4
107107
|
108108
LL | ␀f␀n␀ ␀m␀a␀i␀n␀(␀)␀ ␀{␀}␀
109109
| ^ expected one of `!` or `::`

Diff for: tests/ui/parser/utf16-le-without-bom.rs

35 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)