3
Do not point at whole file missing `fn main` by estebank · Pull Request #93142 ·...
source link: https://github.com/rust-lang/rust/pull/93142
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Only point at the end of the crate. We could try making it point at the
beginning of the crate, but that is confused with DUMMY_SP
, causing
the output to be worse.
This change will make it so that VSCode will not underline the whole
file when main
is missing, so other errors will be visible.
wesleywiser, compiler-errors, ChayimFriedman2, and Aloso reacted with thumbs up emoji
fee1-dead reacted with heart emoji
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK