Not able to build the code due to some errors in the codes

Hi everyone!
I'm a beginner in rust trying to write a GPIO driver for STM32L552 Nucleo board on my own and verifying it using a LED blinking code. But I'm unable to figure out the errors in my code. Can u please help me with this.

List of softwares in my PC:
1)RUSTUP - rustup 1.25.2
2)Visual Studio code - 1.76.2
Extensions used in VScode:
C/C++v1.14.4 rust-analyzer v0.3.1435

code repository:

Any suggestions would be appreciated.

If you paste the output of cargo check into a code block:

Paste errors here

You may get more responses.


can u please check with this repository:

Please post the error message

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.