-
Notifications
You must be signed in to change notification settings - Fork 253
Syntax highlighting is thrown off by << #1061
Copy link
Copy link
Open
Labels
upstreamCaused by a third-party componentCaused by a third-party component
Description
Consider this code:
pub fn f() {
g::<u32>();
}
pub fn g<T>() -> std::mem::MaybeUninit<[T; 1 << 2]> {
std::mem::MaybeUninit::uninit()
}
fn main() {
f();
}On the playground, fn main does not get syntax highlighting:
Seems like the << in a type is throwing it off and then it can't parse the rest of the file any more, or so?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
upstreamCaused by a third-party componentCaused by a third-party component
Type
Fields
Give feedbackNo fields configured for issues without a type.
