I'm using vscode and I have a situation where code that compiles
and runs fine, but Rust Analyzer is reporting an error,
type-mismatch.
This happens both on nightly and stable.
This happens at call sites "using" sender_map_insert. So there are no errors in
sender_map_by_instance_id/src/lib.rs where sender_map_insert is defined, but
RA reports the false error in all other cases below. By default this workspace
is compiled with nightly, you can change rust-toolchain.toml to stable and
the false error occurs in both cases. (When changing to stable you'll need disable
the first line in /msg_header/src/lib.rs#![feature(downcast_unchecked)] // Disable if stable)
I'm using vscode and I have a situation where code that compiles and runs fine, but Rust Analyzer is reporting an error, type-mismatch. This happens both on nightly and stable.
This happens at call sites "using"
sender_map_insert
. So there are no errors insender_map_by_instance_id/src/lib.rs
wheresender_map_insert
is defined, but RA reports the false error in all other cases below. By default this workspace is compiled withnightly
, you can changerust-toolchain.toml
to stable and the false error occurs in both cases. (When changing to stable you'll need disable the first line in/msg_header/src/lib.rs
#![feature(downcast_unchecked)] // Disable if stable
)