diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-09-14 09:21:38 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-09-14 09:21:38 +0100 |
commit | 04789ef37b1d26017717a5eeacf0d706f2b14f1b (patch) | |
tree | 1692df9c257da5d52fa59633e0c21a64bd0351b7 /crates/ra_hir/src/ty/lower.rs | |
parent | 4ed44c80db3a31a516d2761d0d9f7c0e1e381597 (diff) | |
parent | dc935be1b511d1179b6b0d1cf1b80c6c931724e4 (diff) |
Merge #1844
1844: Support bare `Trait` without dyn r=flodiebold a=flodiebold
Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty/lower.rs')
-rw-r--r-- | crates/ra_hir/src/ty/lower.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_hir/src/ty/lower.rs b/crates/ra_hir/src/ty/lower.rs index 3fdb2ca92..6ead3846a 100644 --- a/crates/ra_hir/src/ty/lower.rs +++ b/crates/ra_hir/src/ty/lower.rs | |||
@@ -124,8 +124,7 @@ impl Ty { | |||
124 | Ty::Unknown | 124 | Ty::Unknown |
125 | } | 125 | } |
126 | } else { | 126 | } else { |
127 | // FIXME dyn Trait without the dyn | 127 | Ty::Dyn(Arc::new([GenericPredicate::Implemented(trait_ref)])) |
128 | Ty::Unknown | ||
129 | }; | 128 | }; |
130 | } | 129 | } |
131 | TypeNs::GenericParam(idx) => { | 130 | TypeNs::GenericParam(idx) => { |