support #[hdl] type aliases

This commit is contained in:
Jacob Lifshay 2024-10-30 20:47:10 -07:00
parent 20cf0abbcc
commit ee15fd2b94
Signed by: programmerjake
SSH key fingerprint: SHA256:B1iRVvUJkvd7upMIiMqn6OyxvD2SgJkAH3ZnUOj6z+c
4 changed files with 148 additions and 3 deletions

View file

@ -1,4 +1,4 @@
error: top-level #[hdl] can only be used on structs, enums, or functions
error: top-level #[hdl] can only be used on structs, enums, type aliases, or functions
--> tests/ui/hdl_types.rs:5:1
|
5 | #[hdl]