]> git.lizzy.rs Git - rust.git/commitdiff
Merge #10398
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Thu, 30 Sep 2021 16:10:23 +0000 (16:10 +0000)
committerGitHub <noreply@github.com>
Thu, 30 Sep 2021 16:10:23 +0000 (16:10 +0000)
10398: Give defaultLibrary semantic token modifier to items from standard library r=Veykril a=lhvy

Fixes #8999, fixes #2155

`builtInCrates` could be an alternate name to `defaultLibrary`, which one is better?

> P.S. I'm participating in [Hacktoberfest 2021](https://hacktoberfest.digitalocean.com/). If this PR is up to standard and merged, I'd appreciate if the `hacktoberfest-accepted` label could be added. Thanks!

Co-authored-by: lhvy <me@lhvy.dev>
Co-authored-by: Lucas <me@lhvy.dev>
1  2 
crates/ide/src/syntax_highlighting/tests.rs