diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2019-11-11 09:39:23 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2019-11-19 20:48:06 +0100 |
| commit | 7db84e85047431d1b59bac6def3385454576710e (patch) | |
| tree | aa6d85423b924dc9e8cbc82e03913679a6edcc09 | |
| parent | d9eaaf59733d29911e2882020931a77aa0178c32 (diff) | |
| download | rust-7db84e85047431d1b59bac6def3385454576710e.tar.gz rust-7db84e85047431d1b59bac6def3385454576710e.zip | |
Fix project 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 b115b5a6991..c9bdf22ca8e 100644 --- a/src/librustc/ty/mod.rs +++ b/src/librustc/ty/mod.rs @@ -1847,7 +1847,7 @@ pub struct VariantDef { /// If this variant is a struct variant, then this is `None`. pub ctor_def_id: Option<DefId>, /// Variant or struct name. - #[stable_hasher(project = name)] + #[stable_hasher(project(name))] pub ident: Ident, /// Discriminant of this variant. pub discr: VariantDiscr, |
