Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't discard PathKind::Abs information in lower_use::convert_path | Lukas Wirth | 2020-12-02 | 1 | -0/+21 |
| | |||||
* | Publish diagnostics for macro expansion errors | Jonas Schievink | 2020-11-27 | 1 | -2/+25 |
| | |||||
* | Don't store `SyntaxNodePtr` in `CrateDefMap` | Jonas Schievink | 2020-11-26 | 1 | -4/+2 |
| | | | | It is volatile across reparses and makes incrementality worse. | ||||
* | Test def map invalidation with #[cfg] below change | Jonas Schievink | 2020-11-26 | 1 | -0/+6 |
| | |||||
* | Don't stack overflow on circular modules | Aleksey Kladov | 2020-11-04 | 4 | -18/+62 |
| | | | | closes #6453 | ||||
* | Merge #6435 | bors[bot] | 2020-11-03 | 1 | -2/+15 |
|\ | | | | | | | | | | | | | | | 6435: Test Fixture ExplicitRoot + ModuleResolutionRelativePathOutsideRoot. r=matklad a=rickvanprim Updates `module_resolution_relative_path_outside_root` test to check valid paths outside of the root, by moving the root to a subpath so that paths outside of it are possible. If this would be more appropriate as a new test, or if the original check for an invalid path should be left, I'm happy to update. Co-authored-by: James Leitch <[email protected]> | ||||
| * | Feedback. | James Leitch | 2020-11-02 | 1 | -1/+1 |
| | | |||||
| * | Test Fixture ExplicitRoot + ModuleResolutionRelativePathOutsideRoot. | James Leitch | 2020-11-02 | 1 | -2/+15 |
| | | |||||
* | | Deny unreachable-pub | Aleksey Kladov | 2020-11-02 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | It's very useful when `pub` is equivalent to "this is crate's public API", let's enforce this! Ideally, we should enforce it for local `cargo test`, and only during CI, but that needs https://github.com/rust-lang/cargo/issues/5034. | ||||
* | | Handle #![cfg] in crate root | Jonas Schievink | 2020-10-26 | 2 | -2/+22 |
|/ | |||||
* | Diagnose #[cfg]s in bodies | Jonas Schievink | 2020-10-23 | 1 | -33/+1 |
| | |||||
* | Emit better #[cfg] diagnostics | Jonas Schievink | 2020-10-22 | 2 | -12/+39 |
| | |||||
* | Add a (hint) diagnostic for unconfigured items | Jonas Schievink | 2020-10-20 | 1 | -0/+13 |
| | |||||
* | Account for proc macro helpers when parsing attr | Jonas Schievink | 2020-10-05 | 2 | -1/+9 |
| | |||||
* | Add more comments about proc macro resolution | Jonas Schievink | 2020-09-28 | 1 | -0/+20 |
| | |||||
* | Reduce visibility of non-proc-macros | Jonas Schievink | 2020-09-18 | 2 | -0/+60 |
| | | | | | proc-macro crates only export proc-macros, but currently other items are also considered public (and show up in completion) | ||||
* | Remove obsolete proc macro collection code | Jonas Schievink | 2020-09-18 | 1 | -19/+0 |
| | | | | The new attribute-based resolution takes care of this | ||||
* | Use hir_def to resolve proc macros | Jonas Schievink | 2020-09-18 | 1 | -2/+48 |
| | |||||
* | Add test | Jonas Schievink | 2020-09-18 | 1 | -0/+32 |
| | |||||
* | Rename `CustomDerive` to `ProcMacro` | Jonas Schievink | 2020-09-18 | 1 | -1/+1 |
| | | | | | It handles fn-like macros too, and will handle attribute macros in the future | ||||
* | Invert condition to unindent code | Jonas Schievink | 2020-09-18 | 1 | -158/+157 |
| | |||||
* | Give `ExternCrate` a `Name`, not a `ModPath` | Jonas Schievink | 2020-09-17 | 1 | -10/+7 |
| | |||||
* | Don't diagnose imports whose base crate is missing | Jonas Schievink | 2020-09-17 | 2 | -17/+64 |
| | |||||
* | Add annotation-based nameres diagnostic tests | Jonas Schievink | 2020-09-16 | 3 | -38/+108 |
| | |||||
* | Track import sources and emit diagnostics | Jonas Schievink | 2020-09-16 | 2 | -21/+60 |
| | |||||
* | Leave extern crate items unresolved if they are | Jonas Schievink | 2020-09-16 | 1 | -1/+5 |
| | |||||
* | Add diagnostic types for unresolved crates/imports | Jonas Schievink | 2020-09-16 | 1 | -7/+5 |
| | |||||
* | Support extern types | Jonas Schievink | 2020-08-24 | 1 | -0/+2 |
| | |||||
* | Switch to expect_test from crates.io | Aleksey Kladov | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Rename ra_hir_def -> hir_def | Aleksey Kladov | 2020-08-13 | 9 | -0/+4365 |