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
rust-analyzer version:
rust-analyzer version: 0.4.1981-standalone rustc version:
rustc 1.80.0-nightly (bdbbb6c6a 2024-05-26) editor or extension:
VSCodium relevant settings:
N/A repository link (if public, optional):
N/A code snippet to reproduce:
This compiles without warning. But Gives a error in rust-analyzer.
use std::any::Any;use std::fmt::Debug;pubtraitAnyDebug:Any + Debug{}impl<T:Any + Debug>AnyDebugforT{}fnmain(){let variable:&dynAnyDebug = &1;// expected &dyn AnyDebug, found &i32 rust-analyzer[E0308]dbg!(variable);}
The text was updated successfully, but these errors were encountered:
rust-analyzer version:
rust-analyzer version: 0.4.1981-standalone
rustc version:
rustc 1.80.0-nightly (bdbbb6c6a 2024-05-26)
editor or extension:
VSCodium
relevant settings:
N/A
repository link (if public, optional):
N/A
code snippet to reproduce:
This compiles without warning. But Gives a error in rust-analyzer.
The text was updated successfully, but these errors were encountered: