diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-15 09:15:41 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-15 09:15:41 +0000 |
commit | a9d19200f2a7334404f69849cae5a4723db965e0 (patch) | |
tree | 5ec64260764ce740d65186e707b5d3b42ab0af94 /crates/vfs/src/path_interner.rs | |
parent | 95f3dcd90972543dd03b4eb4c15dbb2ec5ebda9d (diff) | |
parent | 090a59970df049bcb3d8c232b6ea6d77101c9853 (diff) |
Merge #6889
6889: Resolve `macro-error` diagnostics on asm & llvm_asm r=matklad a=lf-
We currently stub these out as returning unit.
This fixes spurious RA `macro-error` diagnostics introduced somewhere around 0.2.400 in the following:
```rust
unsafe { asm!(""); llvm_asm!(""); }
```
I'd ideally like to write a unit test for this, but I'm not familiar with where the tests for `hir_expand` are.
Thanks to @edwin0cheng for help on resolving this issue.
Co-authored-by: lf- <[email protected]>
Diffstat (limited to 'crates/vfs/src/path_interner.rs')
0 files changed, 0 insertions, 0 deletions