From 9622a40945da24d86a2c630249c19e622bf65587 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Thu, 9 Nov 2023 00:39:46 +0100 Subject: [PATCH] late: Add bool builtin type --- gcc/rust/resolve/rust-late-name-resolver-2.0.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/rust/resolve/rust-late-name-resolver-2.0.cc b/gcc/rust/resolve/rust-late-name-resolver-2.0.cc index 353d3debb777..cb15fc6f8d4b 100644 --- a/gcc/rust/resolve/rust-late-name-resolver-2.0.cc +++ b/gcc/rust/resolve/rust-late-name-resolver-2.0.cc @@ -64,6 +64,7 @@ Late::setup_builtin_types () }; static const LType builtins[] = { + {LType ("bool", new TyTy::BoolType (next_hir_id ()))}, {LType ("u8", new TyTy::UintType (next_hir_id (), TyTy::UintType::U8))}, {LType ("u16", new TyTy::UintType (next_hir_id (), TyTy::UintType::U16))}, {LType ("u32", new TyTy::UintType (next_hir_id (), TyTy::UintType::U32))},