Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Rework find_super_trait_path to protect against cycles | Florian Diebold | 2020-02-22 | 5 | -23/+74 | |
| | | | ||||||
| * | | Fix shift_bound_vars | Florian Diebold | 2020-02-22 | 1 | -3/+3 | |
| | | | | | | | | | | | | It should only shift free vars (maybe the name isn't the best...) | |||||
| * | | Fix wrong handling of bare `dyn Trait` exposed by canonicalizer fix | Florian Diebold | 2020-02-22 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | The self type in the `dyn Trait` trait ref should always be ^0, but we didn't put that in there in the bare case. | |||||
| * | | Add &dyn Trait -> &dyn SuperTrait coercion, and fix &T -> &dyn Trait | Florian Diebold | 2020-02-22 | 4 | -44/+132 | |
| | | | ||||||
| * | | Fix handling of binders in canonicalization | Florian Diebold | 2020-02-22 | 1 | -64/+35 | |
| | | | | | | | | | | | | I'm looking forward to getting rid of this in favor of Chalk's implementation. | |||||
| * | | Implement dyn Trait unsizing as well | Florian Diebold | 2020-02-22 | 5 | -9/+136 | |
| | | | ||||||
| * | | Implement unsize coercion using proper trait solving | Florian Diebold | 2020-02-22 | 5 | -187/+170 | |
| |/ | ||||||
* | | Fix dat comment | Veetaha | 2020-02-22 | 1 | -1/+1 | |
| | | ||||||
* | | Merge #3260 | bors[bot] | 2020-02-22 | 5 | -68/+55 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 3260: Refactor how builtins are resolved r=matklad a=flodiebold This fixes autocompletion suggesting e.g. `self::usize`. (I thought we had a bug for that, but I didn't find it.) Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | | Refactor how builtins are resolved | Florian Diebold | 2020-02-21 | 5 | -68/+55 | |
| | | | | | | | | | | | | This fixes autocompletion suggesting e.g. self::usize. | |||||
* | | | ra_mbe: Remove explicit type annotation | Veetaha | 2020-02-22 | 1 | -1/+1 | |
| | | | ||||||
* | | | ra_mbe: added test for malformed token in macro invokation | Veetaha | 2020-02-22 | 1 | -3/+21 | |
| | | | | | | | | | | | | | | | There was a panic where lexer returned None on malformed tokens. But now we just ignore tokenization errors in mbe. | |||||
* | | | ra_mbe: convert_literal now works with malformed tokens | Veetaha | 2020-02-22 | 1 | -2/+3 | |
| |/ |/| | ||||||
* | | Merge #3262 | bors[bot] | 2020-02-22 | 5 | -6/+85 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3262: Fix handling of const patterns r=matklad a=flodiebold E.g. in `match x { None => ... }`, `None` is a path pattern (resolving to the option variant), not a binding. To determine this, we need to try to resolve the name during lowering. This isn't too hard since we already need to resolve names for macro expansion anyway (though maybe a bit hacky). Fixes #1618. Co-authored-by: Florian Diebold <[email protected]> | |||||
| * | | Fix handling of const patterns | Florian Diebold | 2020-02-21 | 5 | -6/+85 | |
| |/ | | | | | | | | | | | | | | | | | E.g. in `match x { None => ... }`, `None` is a path pattern (resolving to the option variant), not a binding. To determine this, we need to try to resolve the name during lowering. This isn't too hard since we already need to resolve names for macro expansion anyway (though maybe a bit hacky). Fixes #1618. | |||||
* | | remove unneeded `collect` | adamrk | 2020-02-21 | 1 | -11/+7 | |
| | | ||||||
* | | use Vec::extend instead of Vec::push in loop | Adam Bratschi-Kaye | 2020-02-21 | 1 | -3/+1 | |
| | | | | | | | | Co-Authored-By: Laurențiu Nicola <[email protected]> | |||||
* | | rename module references | adamrk | 2020-02-21 | 1 | -0/+112 | |
|/ | ||||||
* | Normalize associated types in types coming from Chalk | Florian Diebold | 2020-02-21 | 2 | -1/+46 | |
| | | | | Fixes #3232. | |||||
* | Remove unused placeholder | Edwin Cheng | 2020-02-21 | 1 | -1/+1 | |
| | ||||||
* | Improve server version info | Edwin Cheng | 2020-02-21 | 1 | -1/+29 | |
| | ||||||
* | Better errorse | Aleksey Kladov | 2020-02-20 | 1 | -2/+2 | |
| | ||||||
* | Fix off by one in onEnter | Laurențiu Nicola | 2020-02-20 | 1 | -1/+14 | |
| | ||||||
* | Merge #3215 | bors[bot] | 2020-02-19 | 2 | -6/+34 | |
|\ | | | | | | | | | | | | | | | | | | | 3215: Exclude methods from non-parameter types introduced by generic constraints r=flodiebold a=lnicola Fixes #3184. r? @flodiebold Co-authored-by: Laurențiu Nicola <[email protected]> | |||||
| * | Exclude methods from non-parameter types introduced by generic constraints | Laurențiu Nicola | 2020-02-19 | 2 | -6/+34 | |
| | | ||||||
* | | Fill missing fields of enum variants | Aleksey Kladov | 2020-02-19 | 2 | -7/+40 | |
| | | ||||||
* | | Merge pull request #3239 from matklad/opt-backtrace | Aleksey Kladov | 2020-02-19 | 2 | -1/+2 | |
|\ \ | | | | | | | Make backtrace optional | |||||
| * | | Make backtrace optional | Aleksey Kladov | 2020-02-19 | 2 | -1/+2 | |
| | | | ||||||
* | | | Bump lsp-types | kjeremy | 2020-02-19 | 1 | -0/+1 | |
|/ / | ||||||
* | | Merge #3236 | bors[bot] | 2020-02-19 | 8 | -119/+91 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3236: Merge NameDefinition and NameKind r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Merge NameDefinition and NameKind | Aleksey Kladov | 2020-02-19 | 8 | -119/+91 | |
| | | | ||||||
* | | | Merge #3235 | bors[bot] | 2020-02-19 | 3 | -53/+55 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3235: Derive visibility as well r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Derive visibility as well | Aleksey Kladov | 2020-02-19 | 3 | -53/+55 | |
| | | | ||||||
* | | | Merge #3234 | bors[bot] | 2020-02-19 | 4 | -60/+84 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3234: Don't store deriveable Module info in NameDefinition r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Don't store deriveable Module info in NameDefinition | Aleksey Kladov | 2020-02-19 | 4 | -60/+84 | |
| | | | ||||||
* | | | Extend selection handles commas in tuple pats | Aleksey Kladov | 2020-02-19 | 1 | -0/+27 | |
|/ / | ||||||
* | | Merge #3231 | bors[bot] | 2020-02-19 | 3 | -0/+51 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3231: Add `remove_mut` assist r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | Add `remove_mut` assist | Aleksey Kladov | 2020-02-19 | 3 | -0/+51 | |
| | | | ||||||
* | | | Merge #3228 | bors[bot] | 2020-02-19 | 1 | -9/+17 | |
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3228: Use proper range for hover on macro arguments r=matklad a=edwin0cheng This PR use `original_range` to remap the range of found syntax node in `hover` and thus it should return the proper text range now. fixed #3000 fixed #3135 Co-authored-by: Edwin Cheng <[email protected]> | |||||
| * | | Use proper range for hover on macro arguments | Edwin Cheng | 2020-02-19 | 1 | -9/+17 | |
| |/ | ||||||
* | | Cleanup | Shotaro Yamada | 2020-02-19 | 3 | -7/+3 | |
| | | ||||||
* | | Fix a crash with non-ascii whitespace in doc-comments | Shotaro Yamada | 2020-02-19 | 2 | -2/+19 | |
|/ | ||||||
* | Cleanup imports | Aleksey Kladov | 2020-02-18 | 1 | -22/+18 | |
| | ||||||
* | Minor simplification | Aleksey Kladov | 2020-02-18 | 1 | -6/+3 | |
| | ||||||
* | Update versions | Kirill Bulatov | 2020-02-18 | 19 | -80/+85 | |
| | ||||||
* | More manual clippy fixes | Kirill Bulatov | 2020-02-18 | 31 | -154/+137 | |
| | ||||||
* | Run cargo +nightly fix --clippy -Z unstable-options | Kirill Bulatov | 2020-02-18 | 48 | -149/+132 | |
| | ||||||
* | Merge #3218 | bors[bot] | 2020-02-18 | 3 | -12/+13 | |
|\ | | | | | | | | | | | | | | | 3218: Cut some deps r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | Remove unicase dependency | Aleksey Kladov | 2020-02-18 | 2 | -8/+13 | |
| | | ||||||
| * | Drop extra deps | Aleksey Kladov | 2020-02-18 | 1 | -4/+0 | |
| | |