Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix type inference failure when built with log/kv_unstable | David Tolnay | 2020-06-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | This code is broken by an `impl From<kv::Error> for fmt::Error` in the log crate when building in a codebase that has the log/kv_unstable feature enabled. $ cargo check --manifest-path crates/ra_hir_def/Cargo.toml Checking ra_hir_def v0.1.0 Finished dev [unoptimized] target(s) in 0.75s $ cargo check --manifest-path crates/ra_hir_def/Cargo.toml --features log/kv_unstable Checking ra_hir_def v0.1.0 error[E0282]: type annotations needed for the closure `fn(&str) -> std::result::Result<(), _>` --> crates/ra_hir_def/src/path.rs:278:17 | 278 | f.write_str("::")?; | ^^^^^^^^^^^^^^^^^^ cannot infer type | help: give this closure an explicit return type without `_` placeholders | 276 | let mut add_segment = |s| -> std::result::Result<(), _> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
* | Introduce LowerCtx for path lowering | Edwin Cheng | 2020-05-01 | 1 | -2/+3 |
| | |||||
* | Implement inline associated type bounds | Florian Diebold | 2020-04-13 | 1 | -2/+19 |
| | | | | | | | Like `Iterator<Item: SomeTrait>`. This is an unstable feature, but it's used in the standard library e.g. in the definition of Flatten, so we can't get away with not implementing it :) | ||||
* | Make records grammar more orthogonal | Aleksey Kladov | 2020-04-11 | 1 | -5/+0 |
| | | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler | ||||
* | ra_hir_def: fix typo | veetaha | 2020-03-22 | 1 | -1/+1 |
| | |||||
* | Merge #2962 | bors[bot] | 2020-02-04 | 1 | -1/+9 |
|\ | | | | | | | | | | | | | | | | | 2962: Differentiate underscore alias from named aliases r=matklad a=zombiefungus pre for Fixing Issue 2736 edited to avoid autoclosing the issue Co-authored-by: zombiefungus <[email protected]> | ||||
| * | include requested changes | zombiefungus | 2020-02-02 | 1 | -6/+9 |
| | | |||||
| * | add new ImportAlias enum to differentiate no alias from an _ alias | zombiefungus | 2020-02-02 | 1 | -1/+6 |
| | | |||||
* | | Require ModPath for importing | Kirill Bulatov | 2020-02-02 | 1 | -2/+2 |
|/ | |||||
* | Rename | Aleksey Kladov | 2020-01-15 | 1 | -7/+4 |
| | |||||
* | Apply review suggestions | Florian Diebold | 2020-01-11 | 1 | -8/+6 |
| | |||||
* | Qualify some paths in 'add missing impl members' | Florian Diebold | 2020-01-11 | 1 | -1/+43 |
| | |||||
* | Remove unused hard-coded paths | Emil Lauridsen | 2019-12-29 | 1 | -4/+0 |
| | |||||
* | Formatting | Edwin Cheng | 2019-12-24 | 1 | -1/+4 |
| | |||||
* | Implement infer await from async func | Edwin Cheng | 2019-12-24 | 1 | -0/+5 |
| | |||||
* | Simplify | Aleksey Kladov | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Merge #2592 | bors[bot] | 2019-12-20 | 1 | -0/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2592: Add std::ops::Index support for infering r=edwin0cheng a=edwin0cheng see also #2534 Seem like this can't fix #2534 for this case: ```rust fn foo3(bar: [usize; 2]) { let baz = bar[1]; // <--- baz is still unknown ? println!("{}", baz); } ``` Co-authored-by: Edwin Cheng <[email protected]> | ||||
| * | Add std::ops::Index support for infering | Edwin Cheng | 2019-12-19 | 1 | -0/+1 |
| | | |||||
* | | Remove dead code | Aleksey Kladov | 2019-12-18 | 1 | -5/+0 |
| | | |||||
* | | Touch up docs | Aleksey Kladov | 2019-12-18 | 1 | -1/+2 |
| | | |||||
* | | Forbid <T>::foo syntax in mod paths | Aleksey Kladov | 2019-12-18 | 1 | -3/+9 |
| | | |||||
* | | Move PathKindUp | Aleksey Kladov | 2019-12-18 | 1 | -14/+14 |
| | | |||||
* | | Touch up docs | Aleksey Kladov | 2019-12-18 | 1 | -3/+4 |
|/ | |||||
* | Refactor PathKind | Aleksey Kladov | 2019-12-17 | 1 | -3/+2 |
| | |||||
* | Use different types for path with and without generics | Aleksey Kladov | 2019-12-14 | 1 | -200/+145 |
| | |||||
* | Use path macro | Florian Diebold | 2019-12-13 | 1 | -63/+32 |
| | |||||
* | Rename N! to name! | Florian Diebold | 2019-12-13 | 1 | -4/+4 |
| | |||||
* | Add macros for known names and paths | Florian Diebold | 2019-12-13 | 1 | -25/+20 |
| | |||||
* | Correctly infer - and ! using std::ops::{Neg,Not} | Emil Lauridsen | 2019-12-13 | 1 | -0/+8 |
| | |||||
* | Correct obsolete comment | Aleksey Kladov | 2019-12-12 | 1 | -2/+1 |
| | |||||
* | Move use tree lowering to a separate module | Aleksey Kladov | 2019-12-12 | 1 | -104/+3 |
| | |||||
* | Add expansion infrastructure for derive macros | Florian Diebold | 2019-12-05 | 1 | -0/+5 |
| | |||||
* | Replace `ra_hir_expand::either` with crate | ice1000 | 2019-12-03 | 1 | -5/+5 |
| | |||||
* | Infer range types | oxalica | 2019-11-28 | 1 | -0/+30 |
| | |||||
* | Rename Source -> InFile | Aleksey Kladov | 2019-11-28 | 1 | -2/+2 |
| | |||||
* | Add hygiene information to SourceAnalyzer | Edwin Cheng | 2019-11-26 | 1 | -1/+1 |
| | |||||
* | Don't redo field resolution in the IDE | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Some docs | Aleksey Kladov | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Reduce visibility | Aleksey Kladov | 2019-11-24 | 1 | -4/+7 |
| | |||||
* | Rename Source::ast -> Source::value | Aleksey Kladov | 2019-11-20 | 1 | -1/+1 |
| | |||||
* | improve compile time a bit | Aleksey Kladov | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | move hygiene to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -1/+2 |
| | |||||
* | push name down to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -8/+7 |
| | |||||
* | push either to hir_expand | Aleksey Kladov | 2019-10-30 | 1 | -1/+1 |
| | |||||
* | refactor $crate handling | Aleksey Kladov | 2019-10-30 | 1 | -52/+49 |
| | | | | | Introduce proper hygiene module, which should grow quite a bit eventually. | ||||
* | move raw_items to hir_def | Aleksey Kladov | 2019-10-30 | 1 | -0/+423 |