Skip to content

Commit 7db84e8

Browse files
committed
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

+1-1
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)