diff options
author | Emil Lauridsen <[email protected]> | 2019-12-29 16:39:31 +0000 |
---|---|---|
committer | Emil Lauridsen <[email protected]> | 2019-12-29 16:39:31 +0000 |
commit | 8fad8e897a8d3a5c2e55d3a00fb8465fb87f86bb (patch) | |
tree | 45827d5c2e3b3f0fe51bdecb5df03fd1d3de3844 /crates/ra_hir_ty/src/tests/simple.rs | |
parent | fc3ab03af74cb94a5ec94d84ec15650314f613eb (diff) |
Resolve traits in infer using lang item infrastructure
Diffstat (limited to 'crates/ra_hir_ty/src/tests/simple.rs')
-rw-r--r-- | crates/ra_hir_ty/src/tests/simple.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir_ty/src/tests/simple.rs b/crates/ra_hir_ty/src/tests/simple.rs index 00134c99b..f7e042c12 100644 --- a/crates/ra_hir_ty/src/tests/simple.rs +++ b/crates/ra_hir_ty/src/tests/simple.rs | |||
@@ -20,6 +20,7 @@ fn test() { | |||
20 | mod prelude {} | 20 | mod prelude {} |
21 | 21 | ||
22 | mod boxed { | 22 | mod boxed { |
23 | #[lang = "owned_box"] | ||
23 | pub struct Box<T: ?Sized> { | 24 | pub struct Box<T: ?Sized> { |
24 | inner: *mut T, | 25 | inner: *mut T, |
25 | } | 26 | } |