Add string interpolation parsing #1288
build_test_fmt.yml
on: pull_request
coding-style
5s
build-without-warnings
0s
tests
0s
Annotations
6 errors and 8 warnings
mismatched types:
interpolate/src/lib.rs#L90
error[E0308]: mismatched types
--> interpolate/src/lib.rs:90:23
|
90 | .with_loc(Some(location.clone()))
| -------- ^^^^^^^^^^^^^^^^^^^^^^ expected `SpanTuple`, found `Option<SpanTuple>`
| |
| arguments to this method are incorrect
|
= note: expected struct `location::SpanTuple`
found enum `std::option::Option<location::SpanTuple>`
note: method defined here
--> /home/runner/work/jinko/jinko/error/src/lib.rs:271:12
|
271 | pub fn with_loc(self, loc: SpanTuple) -> Error {
| ^^^^^^^^
|
mismatched types:
interpolate/src/lib.rs#L58
error[E0308]: mismatched types
--> interpolate/src/lib.rs:58:19
|
58 | .with_loc(Some(loc))
| -------- ^^^^^^^^^ expected `SpanTuple`, found `Option<SpanTuple>`
| |
| arguments to this method are incorrect
|
= note: expected struct `location::SpanTuple`
found enum `std::option::Option<location::SpanTuple>`
note: method defined here
--> /home/runner/work/jinko/jinko/error/src/lib.rs:271:12
|
271 | pub fn with_loc(self, loc: SpanTuple) -> Error {
| ^^^^^^^^
|
expected value, found enum `ParseError`:
interpolate/src/lib.rs#L61
error[E0423]: expected value, found enum `ParseError`
--> interpolate/src/lib.rs:61:25
|
61 | Err(nom::Err::Error(ParseError))
| ^^^^^^^^^^
|
help: the following enum variants are available
|
61 | Err(nom::Err::Error((ParseError::Incomplete(/* fields */))))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | Err(nom::Err::Error((ParseError::Msg(/* fields */))))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | Err(nom::Err::Error((ParseError::Mult(/* fields */))))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61 | Err(nom::Err::Error((ParseError::Nom(/* fields */))))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
tests-check
Process completed with exit code 101.
|
build
Process completed with exit code 101.
|
functional_tests
Process completed with exit code 1.
|
coding-style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
coding-style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
tests-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
tests-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
functional_tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
functional_tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|