Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Syntax Highlighting does not highlight where bound for tuple structs #131

Open
shingtaklam1324 opened this issue May 26, 2018 · 0 comments
Labels

Comments

@shingtaklam1324
Copy link

This is highlighted correctly by RLS-VSCode

pub trait UnitTr
where
    f64: Rem<Self, Output = Unit<Self>>,
    Self: Sized,
{
}

whereas this does not highlight the where even though it is a Rust keyword and valid syntax.

pub struct Unit<Type: UnitTr>(Prefix, f64, PhantomData<Type>)
where
    f64: Rem<Type, Output = Unit<Type>>;

I originally posted this on rust-lang/vscode-rust#328 and was recommended to post here instead

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants