We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{integer}
&dyn Debug
rust-analyzer version: rust-analyzer 1.80.0 (05147895 2024-07-21)
rustc version: rustc 1.80.0 (051478957 2024-07-21)
code snippet to reproduce:
use std::fmt::Debug; fn main() { let x: &dyn Debug = &2; }
cargo check 0 errors ra: expected &dyn Debug, found &i32 (rust-analyzer E0308)
cargo check
expected &dyn Debug, found &i32 (rust-analyzer E0308)
The text was updated successfully, but these errors were encountered:
Duplicate of #11847.
Sorry, something went wrong.
No branches or pull requests
rust-analyzer version: rust-analyzer 1.80.0 (05147895 2024-07-21)
rustc version: rustc 1.80.0 (051478957 2024-07-21)
code snippet to reproduce:
cargo check
0 errorsra:
expected &dyn Debug, found &i32 (rust-analyzer E0308)
The text was updated successfully, but these errors were encountered: