about summary refs log tree commit diff
path: root/tests/ui/frontmatter/unclosed-3.stderr
blob: cd69cb0004080303b8f196a8226ac1fde99fa5a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
error: invalid preceding whitespace for frontmatter close
  --> $DIR/unclosed-3.rs:12:1
   |
LL |     ---x
   | ^^^^^^^^
   |
note: frontmatter close should not be preceded by whitespace
  --> $DIR/unclosed-3.rs:12:1
   |
LL |     ---x
   | ^^^^

error: frontmatter close does not match the opening
  --> $DIR/unclosed-3.rs:1:1
   |
LL |   ----cargo
   |   ^---
   |   |
   |  _the opening here has 4 dashes...
   | |
...  |
LL | | fn foo(x: i32) -> i32 {
LL | |     ---x
   | |_---____^
   |   |
   |   ...while the close has 3 dashes

error: extra characters after frontmatter close are not allowed
  --> $DIR/unclosed-3.rs:12:1
   |
LL |     ---x
   | ^^^^^^^^

error: unexpected closing delimiter: `}`
  --> $DIR/unclosed-3.rs:15:1
   |
LL | }
   | ^ unexpected closing delimiter

error: aborting due to 4 previous errors