aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/impls.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-08-22 21:06:32 +0100
committerGitHub <[email protected]>2019-08-22 21:06:32 +0100
commit0c35d82329bc0952bd179ec37933c0955fd5ed26 (patch)
tree43ca00aad8f53cfe282a201b7bb9218598e5486c /crates/ra_ide_api/src/impls.rs
parentdaf1a96ff07d7b6e7ae3e2878b300058091bbf6e (diff)
parent4768f5e7177159b894d65a50b1e4492cb4048ac3 (diff)
parent18c7a1ebe7ced9d8039132da06dcd954affec2eb (diff)
Merge #1721 #1723
1721: Impl/dyn trait r=flodiebold a=flodiebold This adds support for `impl Trait` and `dyn Trait` types as far as possible without Chalk. So we can represent them in the type system, and handle them in method resolution, but Chalk doesn't know about them yet. There's a small temporary hack here where we bypass Chalk during method resolution, so we can handle simple method calls on them and completion works. Fixes #1608. 1723: Make sysroot use `RUST_SRC_PATH` if set r=matklad a=bkchr Co-authored-by: Florian Diebold <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>