commit
9ec74ad153
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -3,8 +3,12 @@ error: expected "<", code block or literal
|
|||
|
|
||||
10 | <title>unquoted</title>
|
||||
| ^^^^^^^^
|
||||
|
||||
error: text nodes need to be quoted, eg. [1m<p>"Hello Joe!"</p>[0m
|
||||
--> $DIR/text-nodes-need-to-be-quoted.rs:10:16
|
||||
|
|
||||
= help: text nodes need to be quoted, eg. [1m<p>"Hello Joe!"</p>[0m
|
||||
10 | <title>unquoted</title>
|
||||
| ^^^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
error: aborting due to 2 previous errors
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue