about summary refs log tree commit diff
path: root/docs/dev/debugging.md
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-12-15 09:15:41 +0000
committerGitHub <noreply@github.com>2020-12-15 09:15:41 +0000
commita9d19200f2a7334404f69849cae5a4723db965e0 (patch)
tree5ec64260764ce740d65186e707b5d3b42ab0af94 /docs/dev/debugging.md
parent95f3dcd90972543dd03b4eb4c15dbb2ec5ebda9d (diff)
parent090a59970df049bcb3d8c232b6ea6d77101c9853 (diff)
downloadrust-a9d19200f2a7334404f69849cae5a4723db965e0.tar.gz
rust-a9d19200f2a7334404f69849cae5a4723db965e0.zip
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- <lf-@users.noreply.github.com>
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions