From 8fad8e897a8d3a5c2e55d3a00fb8465fb87f86bb Mon Sep 17 00:00:00 2001 From: Emil Lauridsen Date: Sun, 29 Dec 2019 17:39:31 +0100 Subject: Resolve traits in infer using lang item infrastructure --- crates/ra_hir_ty/src/tests/simple.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/ra_hir_ty/src/tests/simple.rs') 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() { mod prelude {} mod boxed { + #[lang = "owned_box"] pub struct Box { inner: *mut T, } -- cgit v1.2.3