Hello,
All throughout today, i have been trying to update rust to the lastest version in other to use Maybeuninit.
I used Visual code terminal twice to run rustup update but got this error:
ncis\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/x86_64-pc-windows-msvc/bin'
error: failed to install component: 'rls-preview-x86_64-pc-windows-msvc', detected conflict: '"bin/rls.exe"'
info: checking for self-updates
info: downloading self-update
stable-x86_64-pc-windows-msvc update failed - rustc 1.32.0 (9fda7c223 2019-01-16)
error: could not remove 'rustup-bin' file: '...\.cargo\bin\rustup.exe'
Wild guess: you are running this from VS Code, and probably VS Code runs rls in the background. IIRC, on windows one can't remove a binary for a program which is currently running. Try running rustup update from cmd.exe outside of VS Code?