]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast_lowering/src/lib.rs
split SyntheticTyParamKind
[rust.git] / compiler / rustc_ast_lowering / src / lib.rs
index 41e1aafd9bdad0acfcdd516b4d37fcb9eb2b8de0..6e60191892f21d8305143b47b9e57d44f5018a68 100644 (file)
@@ -2210,7 +2210,7 @@ fn lower_generic_param(
                         .attrs
                         .iter()
                         .filter(|attr| self.sess.check_name(attr, sym::rustc_synthetic))
-                        .map(|_| hir::SyntheticTyParamKind::ImplTrait)
+                        .map(|_| hir::SyntheticTyParamKind::Rustc)
                         .next(),
                 };