We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9eaaf5 commit 7db84e8Copy full SHA for 7db84e8
src/librustc/ty/mod.rs
@@ -1847,7 +1847,7 @@ pub struct VariantDef {
1847
/// If this variant is a struct variant, then this is `None`.
1848
pub ctor_def_id: Option<DefId>,
1849
/// Variant or struct name.
1850
- #[stable_hasher(project = name)]
+ #[stable_hasher(project(name))]
1851
pub ident: Ident,
1852
/// Discriminant of this variant.
1853
pub discr: VariantDiscr,
0 commit comments