mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-17 02:42:54 +00:00
Fix syntactic highlighting for renames
This commit is contained in:
parent
6862329068
commit
7d8f53d55c
3 changed files with 14 additions and 0 deletions
|
|
@ -466,6 +466,10 @@ macro_rules! reuse_twice {
|
|||
($literal:literal) => {{stringify!($literal); format_args!($literal)}};
|
||||
}
|
||||
|
||||
use foo::bar as baz;
|
||||
trait Bar = Baz;
|
||||
trait Foo = Bar;
|
||||
|
||||
fn main() {
|
||||
let a = '\n';
|
||||
let a = '\t';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue