about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-11-16 16:40:51 +0000
committerGitHub <noreply@github.com>2021-11-16 16:40:51 +0000
commit35ed853d84aa3e36a7d8aea4edc30a6566fe47ae (patch)
tree68398f6401836d3b7b5b9e37dc451fb7352281bc /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parent6c7be6cd84e17932473ab036d38b73821ddc6be6 (diff)
parentabdb2acbe52efe2edb44214c9752c681a4128a27 (diff)
downloadrust-35ed853d84aa3e36a7d8aea4edc30a6566fe47ae.tar.gz
rust-35ed853d84aa3e36a7d8aea4edc30a6566fe47ae.zip
Merge #10769
10769: Add proc macro ABI for rustc 1.58 r=lnicola a=alexjg

This fixes #10766.

I do have some concerns here. The proc macro server API has added three methods to `TokenStream` which I don't really know how to implement in `RustcServer`. Namely `expand_expr`, `before`, and `after`. You'll see that these are currently `unimplemented!` in `crates/proc_macro_server/src/abis/abi_1_58/rustc_server.rs`. I don't have the expertise to fill in the blanks here, it may be necessary to pull in someone who knows a bit more about the proc macro crate.

I think this will only be a problem when actually attempting to expand a macro, so this is probably strictly better than not including the updated ABI at all.

Co-authored-by: Alex Good <alex@memoryandthought.me>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions