rust/crates
bors[bot] 1e0ba04033
Merge #3966 #3968
3966: Add support for bounds on associated types in trait definitions r=matklad a=flodiebold

E.g.
```rust
trait Trait {
    type Item: SomeOtherTrait;
}
```
Note that these don't simply desugar to where clauses; as I understand it, where clauses have to be proved by the *user* of the trait, but these bounds are proved by the *implementor*. (Also, where clauses on associated types are unstable.)

(Another one from my recursive solver branch...)

3968: Remove format from syntax_bridge hot path r=matklad a=edwin0cheng

Although only around 1% speed up by running:

```
Measure-Command {start-process .\target\release\rust-analyzer "analysis-stats -q ." -NoNewWindow -wait}
```

Co-authored-by: Florian Diebold <flodiebold@gmail.com>
Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-04-15 09:29:36 +00:00
..
ra_arena Use resize_with 2020-03-31 09:02:12 -04:00
ra_assists Change add_function assist to use todo!() 2020-04-13 22:17:06 +02:00
ra_cfg
ra_db Merge #3727 2020-03-26 17:09:32 +00:00
ra_flycheck insta 0.16 2020-04-14 13:57:02 -04:00
ra_fmt Provide more complete AST accessors to support usage in rustc 2020-04-09 11:50:37 +02:00
ra_hir diagnostics cli, iterate over members 2020-04-14 16:26:03 -07:00
ra_hir_def Merge #3966 #3968 2020-04-15 09:29:36 +00:00
ra_hir_expand Align grammar for record patterns and literals 2020-04-12 00:00:15 +02:00
ra_hir_ty Merge #3966 #3968 2020-04-15 09:29:36 +00:00
ra_ide insta 0.16 2020-04-14 13:57:02 -04:00
ra_ide_db Make records grammar more orthogonal 2020-04-11 19:20:41 +02:00
ra_mbe Remove format from syntax_bridge hot path 2020-04-14 01:23:33 +08:00
ra_parser Align grammar for record patterns and literals 2020-04-12 00:00:15 +02:00
ra_proc_macro Introduce ra_proc_macro_srv 2020-04-03 19:01:44 +08:00
ra_proc_macro_srv Improve error handling 2020-04-11 14:53:13 +08:00
ra_prof Move timeit to stdx 2020-04-10 20:46:42 +02:00
ra_project_model Migrate to privacy as per review commets 2020-04-02 21:09:03 +03:00
ra_syntax Align grammar for record patterns and literals 2020-04-12 00:00:15 +02:00
ra_text_edit
ra_tt Improve tt::Subtree debug print 2020-04-10 00:17:32 +08:00
rust-analyzer diagnostics cli, iterate over members 2020-04-14 16:26:03 -07:00
stdx Move timeit to stdx 2020-04-10 20:46:42 +02:00
test_utils Make records grammar more orthogonal 2020-04-11 19:20:41 +02:00