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
&T
.borrow()
impl Borrow<T>
rust-analyzer version: 17afa2e77 2022-01-24 stable rustc version: rustc 1.58.1 (db9d1b20b 2022-01-20)
17afa2e77 2022-01-24 stable
rustc 1.58.1 (db9d1b20b 2022-01-20)
Bug: if s implements Borrow<T>, then RA does not infer that the type of s.borrow() is &T.
s
Borrow<T>
s.borrow()
The text was updated successfully, but these errors were encountered:
This might be a duplicate of #5514
Sorry, something went wrong.
No branches or pull requests
rust-analyzer version:
17afa2e77 2022-01-24 stable
rustc version:
rustc 1.58.1 (db9d1b20b 2022-01-20)
Bug: if
s
implementsBorrow<T>
, then RA does not infer that the type ofs.borrow()
is&T
.The text was updated successfully, but these errors were encountered: