Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: extra characters after frontmatter close are not allowed
--> $DIR/extra-after-end.rs:2:1
--> $DIR/fence-close-extra-after.rs:2:1
|
LL | ---cargo
| ^^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
error: unclosed frontmatter
--> $DIR/frontmatter-whitespace-2.rs:1:1
--> $DIR/fence-indented-mismatch.rs:1:1
|
LL | / ---cargo
... |
LL | |
| |_^
|
note: frontmatter opening here was not closed
--> $DIR/frontmatter-whitespace-2.rs:1:1
--> $DIR/fence-indented-mismatch.rs:1:1
|
LL | ---cargo
| ^^^

warning: use of a double negation
--> $DIR/frontmatter-whitespace-2.rs:9:6
--> $DIR/fence-indented-mismatch.rs:9:6
|
LL | ---x
| ^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
error: invalid preceding whitespace for frontmatter opening
--> $DIR/frontmatter-whitespace-1.rs:1:1
--> $DIR/fence-indented.rs:1:1
|
LL | ---
| ^^^^^
|
note: frontmatter opening should not be preceded by whitespace
--> $DIR/frontmatter-whitespace-1.rs:1:1
--> $DIR/fence-indented.rs:1:1
|
LL | ---
| ^^

error: unclosed frontmatter
--> $DIR/frontmatter-whitespace-1.rs:1:3
--> $DIR/fence-indented.rs:1:3
|
LL | / ---
LL | |
Expand All @@ -21,7 +21,7 @@ LL | |
| |_^
|
note: frontmatter opening here was not closed
--> $DIR/frontmatter-whitespace-1.rs:1:3
--> $DIR/fence-indented.rs:1:3
|
LL | ---
| ^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: frontmatter close does not match the opening
--> $DIR/mismatch-1.rs:1:1
--> $DIR/fence-mismatch-1.rs:1:1
|
LL | ---cargo
| ^--
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: frontmatter close does not match the opening
--> $DIR/mismatch-2.rs:1:1
--> $DIR/fence-mismatch-2.rs:1:1
|
LL | ----cargo
| ^---
Expand All @@ -13,7 +13,7 @@ LL | | ---cargo
| ...while the close has 3 dashes

error: extra characters after frontmatter close are not allowed
--> $DIR/mismatch-2.rs:3:1
--> $DIR/fence-mismatch-2.rs:3:1
|
LL | ---cargo
| ^^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
error: unclosed frontmatter
--> $DIR/unclosed-1.rs:1:1
--> $DIR/fence-unclosed-1.rs:1:1
|
LL | / ----cargo
... |
LL | |
| |_^
|
note: frontmatter opening here was not closed
--> $DIR/unclosed-1.rs:1:1
--> $DIR/fence-unclosed-1.rs:1:1
|
LL | ----cargo
| ^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: unclosed frontmatter
--> $DIR/unclosed-2.rs:1:1
--> $DIR/fence-unclosed-2.rs:1:1
|
LL | / ----cargo
... |
Expand All @@ -8,13 +8,13 @@ LL | | }
| |__^
|
note: frontmatter opening here was not closed
--> $DIR/unclosed-2.rs:1:1
--> $DIR/fence-unclosed-2.rs:1:1
|
LL | ----cargo
| ^^^^

error[E0658]: frontmatters are experimental
--> $DIR/unclosed-2.rs:1:1
--> $DIR/fence-unclosed-2.rs:1:1
|
LL | / ----cargo
... |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
error: invalid preceding whitespace for frontmatter close
--> $DIR/unclosed-3.rs:12:1
--> $DIR/fence-unclosed-3.rs:12:1
|
LL | ---x
| ^^^^^^^^
|
note: frontmatter close should not be preceded by whitespace
--> $DIR/unclosed-3.rs:12:1
--> $DIR/fence-unclosed-3.rs:12:1
|
LL | ---x
| ^^^^

error: frontmatter close does not match the opening
--> $DIR/unclosed-3.rs:1:1
--> $DIR/fence-unclosed-3.rs:1:1
|
LL | ----cargo
| ^---
Expand All @@ -26,13 +26,13 @@ LL | | ---x
| ...while the close has 3 dashes

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

error: unexpected closing delimiter: `}`
--> $DIR/unclosed-3.rs:15:1
--> $DIR/fence-unclosed-3.rs:15:1
|
LL | }
| ^ unexpected closing delimiter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
error: unclosed frontmatter
--> $DIR/unclosed-4.rs:1:1
--> $DIR/fence-unclosed-4.rs:1:1
|
LL | / ----cargo
LL | |
LL | |
| |_^
|
note: frontmatter opening here was not closed
--> $DIR/unclosed-4.rs:1:1
--> $DIR/fence-unclosed-4.rs:1:1
|
LL | ----cargo
| ^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
error: unclosed frontmatter
--> $DIR/unclosed-5.rs:1:1
--> $DIR/fence-unclosed-5.rs:1:1
|
LL | / ----cargo
... |
LL | |
| |_^
|
note: frontmatter opening here was not closed
--> $DIR/unclosed-5.rs:1:1
--> $DIR/fence-unclosed-5.rs:1:1
|
LL | ----cargo
| ^^^^

error[E0658]: frontmatters are experimental
--> $DIR/unclosed-5.rs:1:1
--> $DIR/fence-unclosed-5.rs:1:1
|
LL | / ----cargo
... |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: unclosed frontmatter
--> $DIR/unclosed-6.rs:1:1
--> $DIR/fence-unclosed-6.rs:1:1
|
LL | / ---
LL | |
Expand All @@ -10,7 +10,7 @@ LL | |
| |_^
|
note: frontmatter opening here was not closed
--> $DIR/unclosed-6.rs:1:1
--> $DIR/fence-unclosed-6.rs:1:1
|
LL | ---
| ^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: invalid infostring for frontmatter
--> $DIR/infostring-fail.rs:1:4
--> $DIR/infostring-comma.rs:1:4
|
LL | ---cargo,clippy
| ^^^^^^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: invalid infostring for frontmatter
--> $DIR/dot-in-infostring-leading.rs:1:4
--> $DIR/infostring-dot-leading.rs:1:4
|
LL | ---.toml
| ^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: invalid infostring for frontmatter
--> $DIR/hyphen-in-infostring-leading.rs:1:4
--> $DIR/infostring-hyphen-leading.rs:1:4
|
LL | --- -toml
| ^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: invalid infostring for frontmatter
--> $DIR/space-in-infostring.rs:1:4
--> $DIR/infostring-space.rs:1:4
|
LL | --- cargo clippy
| ^^^^^^^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: expected item, found `-`
--> $DIR/frontmatter-after-tokens.rs:3:1
--> $DIR/location-after-tokens.rs:3:1
|
LL | ---
| ^ expected item
Expand Down
Loading