1
Fork 0

update UI tests

This commit is contained in:
Alex Burka 2017-10-27 12:32:23 +00:00
parent bcd1fedf03
commit bec62c2f12
19 changed files with 29 additions and 29 deletions

View file

@ -4,7 +4,7 @@ error: requires at least a format string argument
12 | format!(); 12 | format!();
| ^^^^^^^^^^ | ^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: expected token: `,` error: expected token: `,`
--> $DIR/bad-format-args.rs:13:5 --> $DIR/bad-format-args.rs:13:5
@ -12,7 +12,7 @@ error: expected token: `,`
13 | format!("" 1); 13 | format!("" 1);
| ^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: expected token: `,` error: expected token: `,`
--> $DIR/bad-format-args.rs:14:5 --> $DIR/bad-format-args.rs:14:5
@ -20,7 +20,7 @@ error: expected token: `,`
14 | format!("", 1 1); 14 | format!("", 1 1);
| ^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to 3 previous errors error: aborting due to 3 previous errors

View file

@ -4,7 +4,7 @@ error[E0600]: cannot apply unary operator `!` to type `&'static str`
12 | assert!("foo"); 12 | assert!("foo");
| ^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error

View file

@ -4,7 +4,7 @@ error: 1 positional argument in format string, but no arguments were given
16 | myprintln!("{}"); //~ ERROR in this macro 16 | myprintln!("{}"); //~ ERROR in this macro
| ^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error

View file

@ -5,7 +5,7 @@ error: invalid format string: expected `'}'` but string was terminated
| ^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^
| |
= note: if you intended to print `{`, you can escape it using `{{` = note: if you intended to print `{`, you can escape it using `{{`
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: invalid format string: unmatched `}` found error: invalid format string: unmatched `}` found
--> $DIR/format-string-error.rs:14:5 --> $DIR/format-string-error.rs:14:5
@ -14,7 +14,7 @@ error: invalid format string: unmatched `}` found
| ^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^
| |
= note: if you intended to print `}`, you can escape it using `}}` = note: if you intended to print `}`, you can escape it using `}}`
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to 2 previous errors error: aborting due to 2 previous errors

View file

@ -9,7 +9,7 @@ error[E0597]: borrowed value does not live long enough
| - temporary value needs to live until here | - temporary value needs to live until here
| |
= note: consider using a `let` binding to increase its lifetime = note: consider using a `let` binding to increase its lifetime
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error

View file

@ -11,7 +11,7 @@ error: multiple unused formatting arguments
= help: `%.*3$s` should be written as `{:.2$}` = help: `%.*3$s` should be written as `{:.2$}`
= help: `%s` should be written as `{}` = help: `%s` should be written as `{}`
= note: printf formatting not supported; see the documentation for `std::fmt` = note: printf formatting not supported; see the documentation for `std::fmt`
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: argument never used error: argument never used
--> $DIR/format-foreign.rs:13:29 --> $DIR/format-foreign.rs:13:29

View file

@ -8,7 +8,7 @@ error: multiple unused formatting arguments
| | unused | | unused
| unused | unused
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: multiple unused formatting arguments error: multiple unused formatting arguments
--> $DIR/format-unused-lables.rs:14:5 --> $DIR/format-unused-lables.rs:14:5
@ -23,7 +23,7 @@ error: multiple unused formatting arguments
18 | | ); 18 | | );
| |______^ | |______^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: named argument never used error: named argument never used
--> $DIR/format-unused-lables.rs:20:35 --> $DIR/format-unused-lables.rs:20:35
@ -47,7 +47,7 @@ error: multiple unused formatting arguments
| |
= help: `$STUFF` should be written as `{STUFF}` = help: `$STUFF` should be written as `{STUFF}`
= note: shell formatting not supported; see the documentation for `std::fmt` = note: shell formatting not supported; see the documentation for `std::fmt`
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to 4 previous errors error: aborting due to 4 previous errors

View file

@ -9,7 +9,7 @@ note: lint level defined here
| |
13 | #![deny(unreachable_code)] 13 | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error

View file

@ -16,7 +16,7 @@ error: unreachable statement
36 | println!("foo"); 36 | println!("foo");
| ^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to 2 previous errors error: aborting due to 2 previous errors

View file

@ -9,7 +9,7 @@ note: lint level defined here
| |
14 | #![deny(unreachable_code)] 14 | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error

View file

@ -9,7 +9,7 @@ note: lint level defined here
| |
14 | #![deny(unreachable_code)] 14 | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: unreachable statement error: unreachable statement
--> $DIR/expr_loop.rs:31:5 --> $DIR/expr_loop.rs:31:5
@ -17,7 +17,7 @@ error: unreachable statement
31 | println!("I am dead."); 31 | println!("I am dead.");
| ^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: unreachable statement error: unreachable statement
--> $DIR/expr_loop.rs:41:5 --> $DIR/expr_loop.rs:41:5
@ -25,7 +25,7 @@ error: unreachable statement
41 | println!("I am dead."); 41 | println!("I am dead.");
| ^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to 3 previous errors error: aborting due to 3 previous errors

View file

@ -16,7 +16,7 @@ error: unreachable statement
25 | println!("I am dead"); 25 | println!("I am dead");
| ^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: unreachable statement error: unreachable statement
--> $DIR/expr_match.rs:35:5 --> $DIR/expr_match.rs:35:5
@ -24,7 +24,7 @@ error: unreachable statement
35 | println!("I am dead"); 35 | println!("I am dead");
| ^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to 3 previous errors error: aborting due to 3 previous errors

View file

@ -9,7 +9,7 @@ note: lint level defined here
| |
14 | #![deny(unreachable_code)] 14 | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: unreachable statement error: unreachable statement
--> $DIR/expr_while.rs:33:9 --> $DIR/expr_while.rs:33:9
@ -17,7 +17,7 @@ error: unreachable statement
33 | println!("I am dead."); 33 | println!("I am dead.");
| ^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: unreachable statement error: unreachable statement
--> $DIR/expr_while.rs:35:5 --> $DIR/expr_while.rs:35:5
@ -25,7 +25,7 @@ error: unreachable statement
35 | println!("I am, too."); 35 | println!("I am, too.");
| ^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to 3 previous errors error: aborting due to 3 previous errors

View file

@ -56,7 +56,7 @@ error[E0308]: mismatched types
= note: expected type `&mut std::string::String` = note: expected type `&mut std::string::String`
found type `std::string::String` found type `std::string::String`
= help: try with `&mut format!("foo")` = help: try with `&mut format!("foo")`
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to 6 previous errors error: aborting due to 6 previous errors

View file

@ -6,7 +6,7 @@ error[E0308]: mismatched types
| |
= note: expected type `std::fmt::Arguments<'_>` = note: expected type `std::fmt::Arguments<'_>`
found type `std::string::String` found type `std::string::String`
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error

View file

@ -8,7 +8,7 @@ error[E0597]: `foo` does not live long enough
| | borrow occurs here | | borrow occurs here
| borrowed value needs to live until here | borrowed value needs to live until here
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error

View file

@ -9,7 +9,7 @@ error[E0597]: borrowed value does not live long enough
19 | } 19 | }
| - temporary value needs to live until here | - temporary value needs to live until here
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error

View file

@ -6,7 +6,7 @@ error[E0282]: type annotations needed
| | | |
| consider giving `x` a type | consider giving `x` a type
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error

View file

@ -6,7 +6,7 @@ error[E0282]: type annotations needed
| | | |
| consider giving the pattern a type | consider giving the pattern a type
| |
= note: this error originates in a macro outside of the current crate = note: this error originates in a macro outside of the current crate (run with RUST_MACRO_BACKTRACE=1 for more info)
error: aborting due to previous error error: aborting due to previous error