rust isn't running due to strange cargo.toml issues
17:57 09 Feb 2026

In VS code, every time I run cargo, it returns

error: unexpected key or value, expected newline,`#`
--> ..\Cargo.toml:5:8
|
5 | [[bin]]main.rs(version 0.1.0)
|        ^

I've tried putting a # where the ^ is pointing, but that didn't work. I've edited cargo.toml like removing the inner [], changing the type. I've used the run/debug options usually appearing above fn main, gone

This may help:

[workspace]
name = "thankyouGODitsbeenawhile"
version = "0.1.0"
edition = "2024"
[[bin]]#main.rs(version 0.1.0)
[dependencies]
rust rust-cargo