From 4da5fe7fdbb4b2a257f37fc725a756f01d2927fc Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Fri, 15 Nov 2019 21:23:34 +0100 Subject: [PATCH] Fix derive syntax. --- src/librustc/ty/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/ty/mod.rs b/src/librustc/ty/mod.rs index c9bdf22ca8ed..a54bf5079cac 100644 --- a/src/librustc/ty/mod.rs +++ b/src/librustc/ty/mod.rs @@ -1589,8 +1589,8 @@ rustc_index::newtype_index! { /// declared, but a type name in a non-zero universe is a placeholder /// type -- an idealized representative of "types in general" that we /// use for checking generic functions. - #[derive(HashStable)] pub struct UniverseIndex { + derive [HashStable] DEBUG_FORMAT = "U{}", } }