Skip to content

Commit

Permalink
Fix compile_fail tests for 1.73 stable Rust (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron authored Oct 6, 2023
1 parent da9709d commit 81660fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/compile_fail/debug/unclosed_brace.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error: invalid format string: expected `'}'`, found `')'`
--> tests/compile_fail/debug/unclosed_brace.rs:3:21
|
3 | #[debug("Stuff({)", bar)]
| -^ expected `}` in format string
| -^ expected `'}'` in format string
| |
| because of this opening brace
|
Expand Down
2 changes: 1 addition & 1 deletion tests/compile_fail/display/unclosed_brace.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error: invalid format string: expected `'}'`, found `')'`
--> tests/compile_fail/display/unclosed_brace.rs:2:19
|
2 | #[display("Stuff({)", bar)]
| -^ expected `}` in format string
| -^ expected `'}'` in format string
| |
| because of this opening brace
|
Expand Down

0 comments on commit 81660fc

Please sign in to comment.