diff options
| author | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-10-05 02:01:32 +0200 |
|---|---|---|
| committer | Bastian Kauschke <bastian_kauschke@hotmail.de> | 2020-10-07 10:19:04 +0200 |
| commit | 604bc876e03a4169a1fb42408d778c65ab39cec2 (patch) | |
| tree | 7b40a8a99f4860d7a5582996b7b14b88272c2f37 /compiler/rustc_ast_lowering/src | |
| parent | 236689d6eb241e92bea7449c07ba55783926391f (diff) | |
| download | rust-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.rs | 2 |
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(), }; |
