rust-analyzer/crates/syntax/src
bors 2feabc4dc4 Auto merge of #14622 - alibektas:make_ty_alias, r=alibektas
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
2023-04-22 11:43:42 +00:00
..
ast Auto merge of #14622 - alibektas:make_ty_alias, r=alibektas 2023-04-22 11:43:42 +00:00
parsing Spelling 2023-04-19 09:45:55 -04:00
tests feat(syntax): RTN in bounds 2023-04-01 15:26:03 +02:00
validation Add semicolons for consistency 2021-10-03 23:39:43 +11:00
algo.rs use inline format args 2023-01-02 14:52:32 +00:00
ast.rs refactor: leverage HasAttrs for code brevity 2023-03-04 00:24:03 +09:00
fuzz.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
hacks.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
lib.rs fix: Bring back hovering call parens for return type info 2023-02-15 18:58:59 +01:00
parsing.rs dead code 2021-12-28 19:13:30 +03:00
ptr.rs Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00
syntax_error.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
syntax_node.rs suppress lint 2023-01-10 07:06:26 +00:00
ted.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
tests.rs remove needless borrows 2023-01-02 14:52:32 +00:00
token_text.rs Bump smol-str 2023-04-11 14:39:19 +02:00
utils.rs Make is_raw_identifier() public util function 2023-02-13 18:43:59 +09:00
validation.rs Spelling 2023-04-19 09:45:55 -04:00