about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-10-05 02:01:32 +0200
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-10-07 10:19:04 +0200
commit604bc876e03a4169a1fb42408d778c65ab39cec2 (patch)
tree7b40a8a99f4860d7a5582996b7b14b88272c2f37 /compiler/rustc_ast_lowering/src
parent236689d6eb241e92bea7449c07ba55783926391f (diff)
downloadrust-604bc876e03a4169a1fb42408d778c65ab39cec2.tar.gz
rust-604bc876e03a4169a1fb42408d778c65ab39cec2.zip
implement nits
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
-rw-r--r--compiler/rustc_ast_lowering/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_lowering/src/lib.rs b/compiler/rustc_ast_lowering/src/lib.rs
index 6e60191892f..a70309b64c1 100644
--- a/compiler/rustc_ast_lowering/src/lib.rs
+++ b/compiler/rustc_ast_lowering/src/lib.rs
@@ -2210,7 +2210,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
                         .attrs
                         .iter()
                         .filter(|attr| self.sess.check_name(attr, sym::rustc_synthetic))
-                        .map(|_| hir::SyntheticTyParamKind::Rustc)
+                        .map(|_| hir::SyntheticTyParamKind::FromAttr)
                         .next(),
                 };