Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7db84e8

Browse files
committedNov 19, 2019
Fix project syntax.
1 parent d9eaaf5 commit 7db84e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/librustc/ty/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1847,7 +1847,7 @@ pub struct VariantDef {
18471847
/// If this variant is a struct variant, then this is `None`.
18481848
pub ctor_def_id: Option<DefId>,
18491849
/// Variant or struct name.
1850-
#[stable_hasher(project = name)]
1850+
#[stable_hasher(project(name))]
18511851
pub ident: Ident,
18521852
/// Discriminant of this variant.
18531853
pub discr: VariantDiscr,

0 commit comments

Comments
 (0)
Please sign in to comment.