Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
```
    Updating alloy-primitives v0.7.5 -> v0.7.6
    Updating annotate-snippets v0.11.2 -> v0.11.4
    Updating cc v1.0.98 -> v1.0.99
    Updating clap v4.5.4 -> v4.5.7
    Updating clap_builder v4.5.2 -> v4.5.7
    Updating clap_derive v4.5.4 -> v4.5.5
    Updating clap_lex v0.7.0 -> v0.7.1
    Updating derive_more v0.99.17 -> v0.99.18
    Updating memchr v2.7.2 -> v2.7.4
    Updating redox_syscall v0.5.1 -> v0.5.2
    Updating regex v1.10.4 -> v1.10.5
    Updating regex-automata v0.4.6 -> v0.4.7
    Updating regex-syntax v0.8.3 -> v0.8.4
    Updating subtle v2.5.0 -> v2.6.0
    Updating utf8parse v0.2.1 -> v0.2.2
```
  • Loading branch information
DaniPopes committed Jun 20, 2024
1 parent a37560a commit 4715be1
Show file tree
Hide file tree
Showing 5 changed files with 108 additions and 84 deletions.
78 changes: 39 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 24 additions & 24 deletions tests/ui/lexer/string_escapes_crlf.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ LL | bytes constant s = hex"\
|

error: invalid hex digit
--> $DIR/string_escapes_crlf.sol:1:1
--> $DIR/string_escapes_crlf.sol:6:25
|
LL | | ";
| |_^
LL | bytes constant s = hex"\
| ^
|

error: cannot skip multiple lines with `\`
--> $DIR/string_escapes_crlf.sol:1:1
--> $DIR/string_escapes_crlf.sol:15:1
|
LL | | ";
| |_^
LL |
| ^
|

error: cannot skip multiple lines with `\`
--> $DIR/string_escapes_crlf.sol:1:1
--> $DIR/string_escapes_crlf.sol:18:1
|
LL | | ";
| |_^
LL |
| ^
|

error: invalid hex digit
Expand All @@ -48,10 +48,10 @@ LL | bytes constant s = hex"\
|

error: invalid hex digit
--> $DIR/string_escapes_crlf.sol:1:1
--> $DIR/string_escapes_crlf.sol:20:25
|
LL | |
| |_^
LL | bytes constant s = hex"\
| ^
|

error: invalid hex digit
Expand All @@ -62,24 +62,24 @@ LL | ...
|

error: invalid hex digit
--> $DIR/string_escapes_crlf.sol:1:1
--> $DIR/string_escapes_crlf.sol:21:1
|
LL | | ";
| |_^
LL |
| ^
|

error: unescaped newline
--> $DIR/string_escapes_crlf.sol:1:1
--> $DIR/string_escapes_crlf.sol:31:22
|
LL | | ";
| |_^
LL | string constant s = "
| ^
|

error: unescaped newline
--> $DIR/string_escapes_crlf.sol:1:1
--> $DIR/string_escapes_crlf.sol:33:29
|
LL | | ";
| |_^
LL | string constant s = unicode"
| ^
|

error: invalid hex digit
Expand All @@ -90,10 +90,10 @@ LL | bytes constant s = hex"
|

error: invalid hex digit
--> $DIR/string_escapes_crlf.sol:1:1
--> $DIR/string_escapes_crlf.sol:35:24
|
LL | | ";
| |_^
LL | bytes constant s = hex"
| ^
|

error: aborting due to 14 previous errors
Expand Down
22 changes: 15 additions & 7 deletions tests/ui/lexer/unterminated_hex_string.stderr
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
error: unterminated hex string
--> $DIR/unterminated_hex_string.sol:1:1
|
|
--> $DIR/unterminated_hex_string.sol:1:1
|
LL | / hex"
LL | |
LL | |
| |________________________________^
|

error: expected global item (pragma, import directive, contract, interface, library, struct, enum, constant, function, modifier, or error definition), found `<error>`
--> $DIR/unterminated_hex_string.sol:1:1
|
|
= note: for a full list of valid global items, see <https://docs.soliditylang.org/en/latest/grammar.html#a4.SolidityParser.sourceUnit>
--> $DIR/unterminated_hex_string.sol:1:1
|
LL | / hex"
LL | |
LL | |
| |________________________________^
|
= note: for a full list of valid global items, see <https://docs.soliditylang.org/en/latest/grammar.html#a4.SolidityParser.sourceUnit>

error: aborting due to 2 previous errors

22 changes: 15 additions & 7 deletions tests/ui/lexer/unterminated_string.stderr
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
error: unterminated string
--> $DIR/unterminated_string.sol:1:1
|
|
--> $DIR/unterminated_string.sol:1:1
|
LL | / "
LL | |
LL | |
| |________________________________^
|

error: expected global item (pragma, import directive, contract, interface, library, struct, enum, constant, function, modifier, or error definition), found `<error>`
--> $DIR/unterminated_string.sol:1:1
|
|
= note: for a full list of valid global items, see <https://docs.soliditylang.org/en/latest/grammar.html#a4.SolidityParser.sourceUnit>
--> $DIR/unterminated_string.sol:1:1
|
LL | / "
LL | |
LL | |
| |________________________________^
|
= note: for a full list of valid global items, see <https://docs.soliditylang.org/en/latest/grammar.html#a4.SolidityParser.sourceUnit>

error: aborting due to 2 previous errors

Loading

0 comments on commit 4715be1

Please sign in to comment.