rust/crates
bors[bot] 0363c9495a
Merge #3518
3518: Add parse_to_token_tree r=matklad a=edwin0cheng

This PR introduce a function for parsing `&str` to `tt::TokenTree`:

```rust
// Convert a string to a `TokenTree`
pub fn parse_to_token_tree(text: &str) -> Option<(tt::Subtree, TokenMap)> {
````

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
2020-03-09 08:43:07 +00:00
..
ra_arena
ra_assists Rerail split_import API onto AST 2020-03-06 14:08:43 +01:00
ra_cargo_watch lsp-types 0.72 2020-03-02 11:52:46 -05:00
ra_cfg Update versions 2020-02-18 16:12:40 +02:00
ra_db Source map returns a result 2020-03-06 14:44:44 +01:00
ra_fmt When joining lines, unwrap trivial diverging blocks 2020-02-24 17:17:05 +01:00
ra_hir Normalize waiting queries names 2020-03-07 00:18:04 +01:00
ra_hir_def Normalize waiting queries names 2020-03-07 00:18:04 +01:00
ra_hir_expand Add parse_to_token_tree 2020-03-09 00:13:04 +08:00
ra_hir_ty Prevent include! macro include itself 2020-03-07 19:08:42 +08:00
ra_ide Omit unit struct hints 2020-03-08 23:21:08 +02:00
ra_ide_db Normalize waiting queries names 2020-03-07 00:18:04 +01:00
ra_mbe Add parse_to_token_tree 2020-03-09 00:13:04 +08:00
ra_parser Implement concat macro 2020-03-04 01:21:14 +08:00
ra_prof Allow specifying additional info on call to profile 2020-03-06 17:36:51 +01:00
ra_project_model ra_project_model: migrate to Sysroot::alloc() 2020-03-01 00:16:57 +02:00
ra_syntax Add parse_to_token_tree 2020-03-09 00:13:04 +08:00
ra_text_edit Remove unused dependencies 2020-02-27 14:04:13 +09:00
ra_tt Update versions 2020-02-18 16:12:40 +02:00
rust-analyzer Ignore client-specific notifications 2020-03-09 09:26:41 +01:00
test_utils Support cross-crate marks 2020-03-04 11:55:25 +01:00