diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2019-11-15 21:23:34 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2019-11-19 20:48:08 +0100 |
| commit | 4da5fe7fdbb4b2a257f37fc725a756f01d2927fc (patch) | |
| tree | b747a451cdf315ae16509db32843a646340e7dce | |
| parent | 7db84e85047431d1b59bac6def3385454576710e (diff) | |
| download | rust-4da5fe7fdbb4b2a257f37fc725a756f01d2927fc.tar.gz rust-4da5fe7fdbb4b2a257f37fc725a756f01d2927fc.zip | |
Fix derive syntax.
| -rw-r--r-- | src/librustc/ty/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/mod.rs b/src/librustc/ty/mod.rs index c9bdf22ca8e..a54bf5079ca 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{}", } } |
