From 0fb4b896e2b4a1da3069e30b4d4fba0821dc1e13 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 18 Jul 2019 18:13:32 +0300 Subject: use more correct phantom types for ptrs --- crates/ra_syntax/src/ptr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_syntax/src') diff --git a/crates/ra_syntax/src/ptr.rs b/crates/ra_syntax/src/ptr.rs index 0550dca1a..4823eb82e 100644 --- a/crates/ra_syntax/src/ptr.rs +++ b/crates/ra_syntax/src/ptr.rs @@ -36,7 +36,7 @@ impl SyntaxNodePtr { #[derive(Debug, PartialEq, Eq, Hash)] pub struct AstPtr { raw: SyntaxNodePtr, - _ty: PhantomData, + _ty: PhantomData N>, } impl Copy for AstPtr {} -- cgit v1.2.3