Changelog #68
Commit: 5ba7852
Release: 2021-03-15
Sponsors
Become a sponsor: On OpenCollective or GitHub Sponsors.
New Features
-
#7799
add "peek related tests" command (LSP extension): -
#7956
(first contribution) add "convert for_each into for loop" assist: -
#7898
infer return type in "generate function" assist: -
#7873
consider unresolved qualifiers during flyimport: -
#7874
,#7961
add "apply Structural Search and Replace" assist: -
#7904
,#8014
improve completion sorting: -
#7981
(first contribution) support multiple terms in De Morgan’s Law assist: -
#7914
enable build scripts execution by default (disable usingrust-analyzer.cargo.runBuildScripts
). -
#7928
(first contribution) addx.err
postfix completion. -
#7964
implement builtincfg!
macro. -
#7942
show whether a binding is mutable or not on hover. -
#7993
use auto-deref in completion scoring.
Fixes
-
#7901
(first contribution) respect HTTP proxy settings in the Code extension. -
#7912
de-duplicate import map results. -
#7941
fix highlighting of unused definitions. -
#7944
selecting&mut foo
completion now actually inserts&mut
. -
#7957
fix labels for single import assists. -
#7958
avoid double text edits when renaming mod declaration. -
#7959
prefer names from outerDefMap
over extern prelude. -
#7969
return original text range inPrepareRename
responses when inside macro. -
#7972
add semicolon after type ascription. -
#7994
speed up MBE matching for recursive macros. -
#7984
improve version string display. -
#7997
fix folding range kind. -
#7999
handlecfg_attr
gating multiple attributes. -
#8005
handle ill-formed macros propely. -
#8010
attach trivia toast::Union
nodes. -
#8017
keep type params in doc-test paths.
Internal Improvements
-
#6822
(first contribution) read version ofrustc
that compiled proc macros. -
#7921
avoid someserde-json
dependencies. -
#7918
,#7980
generalize file ensuring infrastructure, dropxtask codegen
. -
#7923
remove uselesscode_model
indirection. -
#7924
use upstreamcov-mark
implementation. -
#7930
clarify that all protocol extensions are experimental. -
#7931
useType::new_with_resolver_inner
more. -
#7932
improve settings descriptions. -
#7945
future-proof completion scores. -
#7878
removeitem_scope
field fromBody
. -
#7948
deleteContainerId
. -
#7955
stop fetching ItemTrees for no reason. -
#7967
useexpect-test
for builtin macro/derive tests. -
#7974
,#7978
(first contribution) use references inCompletionItem
builder. -
#7985
use ChalkEnvironment
more directly. -
#7989
removeItemTree::source
. -
#7991
simplifyhir_def::TestDB
. -
#7996
separateTy
andTyKind
like in Chalk. -
#8002
createTraitEnvironment
through a query. -
#8003
move type lowering methods toTyLoweringContext
. -
#8006
simpify MBE bindings builder. -
#8011
add--no-sysroot
flag foranalysis-stats
. -
#8016
more Chalk adaptations.