VSCode rust plugin error : [init] function already declared

Looks like there was an answer in another thread:

changing #init to #[export_name = "canister_init"] seems to satisfy the IDE

4 Likes