diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-27 08:38:21 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-05-27 08:38:21 +0100 |
commit | bdd779aa44455d86a9975800ab6cd70057fab4a3 (patch) | |
tree | 6c39bd0ad6ce7ab52cfcf19ad6b5c8f34c68420f /.vscode | |
parent | ce694ae11854a806031db98c51c068253f927519 (diff) | |
parent | 6d68d60d32222af9fda1a6a89911a2c25f4fe402 (diff) |
Merge #1277
1277: Improve macro item resolution r=matklad a=edwin0cheng
~This PR add a new namespace `Macros` in `per_ns.rs` to allow following use case:~
This PR improve macro item resolution to allow following use case:
```rust
//- /main.rs
use foo::bar;
bar!();
//- /lib.rs (crate foo)
#[macro_export]
macro_rules! bar{
() => {
struct Foo { field: u32 }
}
```
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to '.vscode')
0 files changed, 0 insertions, 0 deletions