Skip to content

Commit

Permalink
Update slash error message to point to #315
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-fairy committed Nov 7, 2021
1 parent dc6c88f commit 839896b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions maud/tests/warnings/void-element-slash.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ error: void elements must use `;`, not `/`
| ^
|
= help: change this to `;`
= help: see https://github.com/lambda-fairy/maud/pull/96 for details
= help: see https://github.com/lambda-fairy/maud/pull/315 for details

error: void elements must use `;`, not `/`
--> $DIR/void-element-slash.rs:7:27
Expand All @@ -14,4 +14,4 @@ error: void elements must use `;`, not `/`
| ^
|
= help: change this to `;`
= help: see https://github.com/lambda-fairy/maud/pull/96 for details
= help: see https://github.com/lambda-fairy/maud/pull/315 for details
2 changes: 1 addition & 1 deletion maud_macros/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ impl Parser {
punct,
"void elements must use `;`, not `/`";
help = "change this to `;`";
help = "see https://github.com/lambda-fairy/maud/pull/96 for details";
help = "see https://github.com/lambda-fairy/maud/pull/315 for details";
);
}
ast::ElementBody::Void {
Expand Down

0 comments on commit 839896b

Please sign in to comment.