./lang/rust-analyzer, Rust compiler front-end for IDEs

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.0.2022.05.23, Package name: rust-analyzer-0.0.2022.05.23, Maintainer: pkgsrc-users

rust-analyzer is a modular compiler frontend for the Rust language.
It is a part of a larger rls-2.0 effort to create excellent IDE
support for Rust.


Master sites:

Filesize: 2185.388 KB

Version history: (Expand)


CVS history: (Expand)


   2022-05-28 12:56:07 by Thomas Klausner | Files touched by this commit (6) | Package updated
Log message:
rust-analyzer: update to 0.0.2022.05.23.

6 weeks of development.
   2022-04-15 19:39:42 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
rust-analyzer updateed to 0.0.2022.04.11

2022-04-11

New Features
* improve associated item completion in trait impls.

Fixes
* (first contribution) complete pattern args based on type name
* show error message when flycheck fails.
* attempt to heuristically resolve paths in const arguments in IDE layer.
* make extract_module more lazy.
* show path to be created in the unresolved-module fix label.
* skip match check on patterns of unexpected TyKind::FnDef.
* use correct text ranges in SearchScope for macro-emitted inline modules.
* fix path qualifiers not resolving generic type params when shadowed by trait.
* fix panics with #[cfg]’d-out `self parameter.
* fix spurious type mismatch error for const generics with value parameters.
* flyimport: omit types when completing where-clause
* ignore Drop and Destruct bounds for now.
* check whether a parameter can be converted to a local.
* don’t create hir::Locals from const path patterns.
* parse for<'a> closure syntax.

Internal Improvements
* wrap macros in expr position in MacroExpr node.
* remove hir_expand macro recursion check.
* add more doc-link tests.
* remove FnFlags::IS_IN_EXTERN_BLOCK.
* use bitflags for FnFlags.
* add and start using HirFormatter::write_{str,char}.
* move function unsafety determination out of the ItemTree.
   2022-03-15 06:59:41 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
rust-analyzer: fix building for pre-1.59.0
   2022-03-14 12:11:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
rust-analyzer: updated to 0.0.2022.03.14:

Release: 2022-03-14

New Features
* (first contribution) improve enum variant field completion, enum variant / \ 
struct consistency.
* (first contribution) highlight escape sequences in byte strings.
* BREAKING: switch to upstream inlay hints
* suggest union literals, suggest union fields within an empty union literal
* offer qualified path completions in derives.
* allow configuration of colons in inlay hints \ 
(rust-analyzer.inlayHints.renderColons).

Fixes
* (first contribution) add support for new where clause location in associated types.
* (first contribution) stop wrapping ConstParam default values in ConstArg.
* insert dummy values for const generics in subst.
* properly handle proc-macro crate types for nameres.
* fix extract_module on inherent impls.
* show what file paths were expected for unresolved modules.
* emit more detailed highlighting for %, >>, <<.
* detect NixOS when /etc/os-release includes quotes.

Internal Improvements
* add hir_def::MacroId, add Macro{Id} to ModuleDef{Id}.
* simplify CompletionContext.
* remove ide_completion::render::build_ext module.
* another round of clippy fixes.
   2022-03-07 11:44:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
rust-analyzer: updated to 0.0.2022.03.07

2022.03.07:

New Features

* support locals with multiple declaration sites
* parse destructuring assignments.

Fixes

* add another case to the syntax fixup code.
* preserve order of generic args.
* fix semantic highlighting breaking for lifetimes in macros.
* lower string literal values.
* show variadic args in hover function signature.
* add type variable table to InferenceTableSnapshot.
* fix macro-calls expanding to items in if/while conditions.
* recognize Self as a proper keyword.
* add abort to safe intrinsics list.

Internal Improvements

* build release binaries on Ubuntu 18.04.
* add currently failing test for 11242.
* slightly refactor TextEdit.
* refactor syntax_highlighting.
* bring back syntax highlighting in test data.
* re-arrange ide_db modules.
* automatically change text color in logo based on dark mode.
   2022-03-03 17:06:16 by Thomas Klausner | Files touched by this commit (9) | Package removed
Log message:
rust-analyzer: update to 0.0.2022.02.28.

2022-02-28

refactorings and FIXME fixes in text edit

2022-02-22

internal: Remove `name` fields from `MacroCallKind'
   2022-02-14 19:25:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
rust-analyzer: updated to 0.0.2022.02.14

0.0.2022.02.14

New Features
* fix up syntax errors in attribute macro inputs to make completion work more often
* render whether a function is async / const / unsafe in completion details

Fixes
* (first contribution) add missing experimental capabilities.
* (first contribution) use text range of a mod name after macro expansion when \ 
renaming a module.
* don’t change references to super when renaming a module.
* fix documentation of SsrParams.

Internal Improvements
* make ascend_call_token iterative instead of recursive.
* fix serialization of WorkspaceSymbolParams.
   2022-02-14 09:27:17 by Adam Ciarcinski | Files touched by this commit (7)
Log message:
rust-analyzer: Use pre-1.58.0 format strings.