Update ui test goldens

The PR that added ui testing and the PR that changed the compiler output
were merged in parallel. This resolves the conflict.
This commit is contained in:
David Tolnay 2018-11-19 09:27:42 -08:00
parent 445a3af904
commit 1f9fcf408b
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
4 changed files with 18 additions and 24 deletions

View File

@ -4,18 +4,5 @@ error: <html> requires 2 children but there are only 1
10 | <html>
| ^^^^
error: proc macro panicked
--> $DIR/not-enough-children.rs:9:30
|
9 | let _: DOMTree<String> = html!{
| ______________________________^
10 | | <html>
11 | | <head></head>
12 | | </html>
13 | | };
| |_____^
|
= help: message: explicit panic
error: aborting due to 2 previous errors
error: aborting due to previous error

View File

@ -3,12 +3,12 @@ error: expected closing tag '</html>', found '</head>'
|
10 | <html></head>
| ^^^^
|
help: opening tag is here:
error: unclosed tag
--> $DIR/tag-mismatch.rs:10:10
|
10 | <html></head>
| ^^^^
error: aborting due to previous error
error: aborting due to 2 previous errors

View File

@ -3,8 +3,12 @@ error: expected "<", code block or literal
|
10 | <title>unquoted</title>
| ^^^^^^^^
error: text nodes need to be quoted, eg. <p>"Hello Joe!"</p>
--> $DIR/text-nodes-need-to-be-quoted.rs:10:16
|
= help: text nodes need to be quoted, eg. <p>"Hello Joe!"</p>
10 | <title>unquoted</title>
| ^^^^^^^^
error: aborting due to previous error
error: aborting due to 2 previous errors

View File

@ -1,10 +1,13 @@
error: unexpected end of macro
--> $DIR/unexpected-end-of-macro.rs:10:9
error: unexpected end of macro; missing "<", code block or literal
--> $DIR/unexpected-end-of-macro.rs:9:30
|
10 | <title>
| ^^^^^^^
9 | let _: DOMTree<String> = html!{
| ______________________________^
10 | | <title>
11 | | };
| |_____^
|
= help: missing "<", code block or literal
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to previous error