aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src/tests/simple.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_ty/src/tests/simple.rs')
-rw-r--r--crates/ra_hir_ty/src/tests/simple.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_hir_ty/src/tests/simple.rs b/crates/ra_hir_ty/src/tests/simple.rs
index 3e5e163e3..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() {
20mod prelude {} 20mod prelude {}
21 21
22mod boxed { 22mod 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 }
@@ -1518,6 +1519,7 @@ fn test() {
1518 [167; 179) 'GLOBAL_CONST': u32 1519 [167; 179) 'GLOBAL_CONST': u32
1519 [189; 191) 'id': u32 1520 [189; 191) 'id': u32
1520 [194; 210) 'Foo::A..._CONST': u32 1521 [194; 210) 'Foo::A..._CONST': u32
1522 [126; 128) '99': u32
1521 "### 1523 "###
1522 ); 1524 );
1523} 1525}
@@ -1549,6 +1551,8 @@ fn test() {
1549 [233; 246) 'GLOBAL_STATIC': u32 1551 [233; 246) 'GLOBAL_STATIC': u32
1550 [256; 257) 'w': u32 1552 [256; 257) 'w': u32
1551 [260; 277) 'GLOBAL...IC_MUT': u32 1553 [260; 277) 'GLOBAL...IC_MUT': u32
1554 [118; 120) '99': u32
1555 [161; 163) '99': u32
1552 "### 1556 "###
1553 ); 1557 );
1554} 1558}