Changelog #29
source link: https://rust-analyzer.github.io/thisweek/2020/06/15/changelog-29.html
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.
Jun 15, 2020
Commit: 017331a
Release: 2020-06-15
Sponsors
This week, we’d like to give a shoutout to one of our oldest sponsors: Embark Studios , a Stockholm-based game studio building a platform for the future of gamemaking and striving to support a thriving open-source ecosystem for game development in Rust.
New Features
Fixes
-
#4775
goto definition work correctly for fields of enum variants. -
#4784
correctly handlecfg
s fromrust-project.json
. -
#4803
parse default unsafe fn. -
#4811
Unwrap Block works with match arms. -
#4815
correctly parse <_> paths in patterns. -
#4834
in field patterns, don’t highlight local binding as a field. -
#4850
indent chain.
even if there’s more stuff afterwards. -
#4849
make known paths usecore
instead ofstd
. -
#4833
separating parsing offor
in predicates and types. -
#4858
prefer shorter paths for external items in auto import. -
#4857
fix invalid shorthand initialization diagnostic for tuple structs. -
#4862
re-enable "Warning" diagnostic severity for unused variables.
Internal Improvements
-
#4805
finish JsonProject transition to cfgs from the separate atoms and features. -
#4810
simplify unwrapping of blocks. -
#4832
reduceOUT_DIR
special casing. -
#4819
auto import go brrr (add an FST index toImportMap
and use it to speed up auto import). -
#4843
don’t guess macro expansion crate. -
#4875
introduce paths crate to track absolutness of path in the type system.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK