From 59df1d80f20c2e720dbcc452f063cd39c1bd287d Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 12 Jan 2016 11:23:18 +0100 Subject: [PATCH] Fix the Debug impl of PhantomData requiring Sized on T --- src/libcore/fmt/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs index 628bf654873c7..4033fea1f8e5d 100644 --- a/src/libcore/fmt/mod.rs +++ b/src/libcore/fmt/mod.rs @@ -1569,7 +1569,7 @@ impl Debug for () { } } #[stable(feature = "rust1", since = "1.0.0")] -impl Debug for PhantomData { +impl Debug for PhantomData { fn fmt(&self, f: &mut Formatter) -> Result { f.pad("PhantomData") }