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
The following code is accepted by rustc, but is rejected as a hard error by RA, since RA believes Box to be std::Box. If I move Box outside of the function block, it both compiles and is accepted by RA.
rust-analyzer version: 2020-07-20 (c9c518e)
rustc 1.45.0 (5c1f21c3b 2020-07-13)
vscode 1.47.2 (darwin)
The following code is accepted by rustc, but is rejected as a hard error by RA, since RA believes
Box
to bestd::Box
. If I moveBox
outside of the function block, it both compiles and is accepted by RA.Hovering on the error shows the docs for std::Box, with the message:
The text was updated successfully, but these errors were encountered: