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
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Currently the grammar does not recognize bit shifting punctuations inside type parameters. Example:
fnmain(){let a = unsafe{ std::mem::uninitialized::<[u8;1<<14]>()};println!("{:?}", a[0])}
This file is valid and can be compiled and run by rustc. However, vscode does not correctly render the color after <[u8; 1<<14]>. This is what it currently shows:
The highlighting works if I remove the bit shift operation:
The text was updated successfully, but these errors were encountered:
From @ylxdzsw in microsoft/vscode#77380:
(originally reported here)
Currently the grammar does not recognize bit shifting punctuations inside type parameters. Example:
This file is valid and can be compiled and run by
rustc
. However, vscode does not correctly render the color after<[u8; 1<<14]>
. This is what it currently shows:The highlighting works if I remove the bit shift operation:
The text was updated successfully, but these errors were encountered: