Being able to add a field to a data type and having the compiler tell you everywhere you need to update the code is a huge productivity multiplier. It’s a shame when languages forego this advantage.
-
-
Replying to @pcwalton
The only thing missing is leveraging rustc/rustfix for refactoring workflows. Think operations of "remove this field everywhere" driven by rustc suggestions applied by rustfix being representable and not just ad-hoc.
2 replies 0 retweets 10 likes -
I wonder if this is something that could be addressed by
@rust_analyzer? I know it already has some ability to fill missing items...3 replies 0 retweets 8 likes
Yup, we actually already have all the infra in place for such features, need only to write code to do the actual transformation:https://github.com/rust-analyzer/rust-analyzer/issues/3254#issuecomment-589401848 …
0 replies
0 retweets
5 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.