mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
spans always come from real file
This commit is contained in:
parent
394d11b0fa
commit
30093a6d81
57 changed files with 1369 additions and 1224 deletions
|
@ -401,11 +401,11 @@ fn bar() {
|
|||
//- /lib.rs
|
||||
macro_rules! define_fn {
|
||||
() => (fn foo() {})
|
||||
//^^^
|
||||
|
||||
}
|
||||
|
||||
define_fn!();
|
||||
|
||||
//^^^^^^^^^^^^^
|
||||
fn bar() {
|
||||
$0foo();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue