You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0106]: missing lifetime specifier
--> crates/kami-schema/src/unicode_string.rs:11:56
|
11 | fn parse_token_unicode_string(input:&[u8]) -> Result<(&[u8],TokenUnicodeString),Error> {
| ^ expected named lifetime parameter
|
= help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
help: consider using the `'static` lifetime
|
11 | fn parse_token_unicode_string(input:&[u8]) -> Result<(&'static [u8],TokenUnicodeString),Error>{
| ~~~~~~~~
Without test_case() attribute it compiles. I'd expect this to work after changes made in 2.0.
The text was updated successfully, but these errors were encountered:
I'm using test_case in my prod code (outside of
#[cfg(test)]
)returns
and for
it prints out
Without
test_case()
attribute it compiles. I'd expect this to work after changes made in2.0
.The text was updated successfully, but these errors were encountered: