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
#[derive(PartialEq,Clone,Debug)]pubenumKvnDeserializerErr<I>{InvalidDateTimeFormat{input:I},InvalidNumberFormat{input:I},InvalidStringFormat{input:I},InvalidStateVectorFormat{input:I},InvalidCovarianceMatrixFormat{input:I},KeywordNotFound{expected:I},// Has a second meaning: it stops the iterator for vector type deserializersUnexpectedKeyword{found:I,expected:I},EmptyKeyword{input:I},EmptyValue{input:I},UnexpectedEndOfInput{keyword:I},}fnbla() -> bool{let _x:Result<i32,KvnDeserializerErr<String>> =
Err(KvnDeserializerErr::<String>::UnexpectedKeyword{found:"aa".to_string(),expected:"COMMENT_LIST".to_string(),});returnfalse;}
rust-analyzer version:
0.3.2264
rustc version:
rustc 1.86.0-nightly (6067b3631 2025-01-17)
editor or extension: VS code
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTC
,RUSTUP_HOME
orCARGO_HOME
)repository link (if public, optional): /~https://github.com/lox-space/lox
code snippet to reproduce:
The following code compiles fine, but rust-analyzer is finding this issue: "generic arguments are not allowed on modules" https://doc.rust-lang.org/stable/error_codes/E0109.html.
This is even more odd since
KvnDeserializerErr
is not a module in the first place.The text was updated successfully, but these errors were encountered: