mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-06 02:08:49 +00:00
2feabc4dc4
Add syntax::make::ty_alias There was until now no function that returns TypeAlias. This commit introduces a func that is fully compliant with the Rust Reference. I had problems working with Ident so for now the function uses simple string manipulation until ast_from_text function is called. I am however open to any ideas that could replace ident param in such a way that it accepts syntax::ast::Ident |
||
---|---|---|
.. | ||
ast | ||
parsing | ||
tests | ||
validation | ||
algo.rs | ||
ast.rs | ||
fuzz.rs | ||
hacks.rs | ||
lib.rs | ||
parsing.rs | ||
ptr.rs | ||
syntax_error.rs | ||
syntax_node.rs | ||
ted.rs | ||
tests.rs | ||
token_text.rs | ||
utils.rs | ||
validation.rs |