granite-rust/crates
bors[bot] bdd779aa44 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 <edwin0cheng@gmail.com>
2019-05-27 07:38:21 +00:00
..
gen_lsp_server updated gen_lsp_server examples 2019-05-22 20:35:12 -05:00
ra_arena Add is_empty to Arena 2019-04-26 11:42:10 -04:00
ra_assists Merge #1281 2019-05-22 07:39:54 +00:00
ra_batch migrate to salsas interning 2019-04-09 22:51:22 +03:00
ra_cli Colorize Rust code as HTML 2019-05-25 13:42:34 +03:00
ra_db add profile calls to parsing/expansion routines 2019-05-22 11:31:07 +03:00
ra_fmt apply T! macro where it is possible 2019-05-15 15:35:47 +03:00
ra_hir Formatting 2019-05-27 15:37:22 +08:00
ra_ide_api Colorize Rust code as HTML 2019-05-25 13:42:34 +03:00
ra_lsp_server Added local macro goto 2019-05-04 17:39:51 +01:00
ra_mbe Remove duplicated code 2019-05-26 02:41:00 +08:00
ra_parser Merge #1328 2019-05-27 07:28:13 +00:00
ra_prof better profilig 2019-05-22 00:00:58 +03:00
ra_project_model Sends cwd info for runnables and code lenses 2019-04-14 10:04:38 +02:00
ra_syntax Change TokenSource to iteration based 2019-05-25 20:41:03 +08:00
ra_text_edit Disable fork feature for proptest 2019-03-23 08:57:07 +01:00
ra_tt Use slice instead of Vec 2019-05-23 21:05:22 +08:00
test_utils fix error on wrong path 2019-03-17 12:53:22 +03:00
thread_worker automatically wait for worker threads 2019-02-14 21:11:07 +03:00
tools Use EXE extension for pre-commit hook on Window 2019-03-27 07:52:59 +01:00