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.
Ty
1 parent 5ae1e4d commit a5915c4Copy full SHA for a5915c4
rust-printer/src/ast.rs
@@ -64,7 +64,8 @@ pub enum PrimitiveTy {
64
pub struct Region;
65
66
/// A indirection for the representation of types.
67
-pub type Ty = Box<TyKind>;
+#[derive_group_for_ast]
68
+pub struct Ty(Box<TyKind>);
69
70
/// Describes any Rust type (e.g., `i32`, `Vec<T>`, `fn(i32) -> bool`).
71
#[derive_group_for_ast]
0 commit comments