Remove outdated proc macro ABIs

This commit is contained in:
Jonas Schievink 2022-07-18 14:58:50 +02:00
parent e2eaa99ca1
commit 5ad981ba67
54 changed files with 16 additions and 16176 deletions

View file

@ -11,14 +11,14 @@ pub mod fixtures {
}
}
fn parse_string(code: &str) -> Option<crate::abis::abi_1_48::TokenStream> {
fn parse_string(code: &str) -> Option<crate::abis::TestTokenStream> {
// This is a bit strange. We need to parse a string into a token stream into
// order to create a tt::SubTree from it in fixtures. `into_subtree` is
// implemented by all the ABIs we have so we arbitrarily choose one ABI to
// write a `parse_string` function for and use that. The tests don't really
// care which ABI we're using as the `into_subtree` function isn't part of
// the ABI and shouldn't change between ABI versions.
crate::abis::abi_1_48::TokenStream::from_str(code).ok()
crate::abis::TestTokenStream::from_str(code).ok()
}
pub fn assert_expand(macro_name: &str, ra_fixture: &str, expect: Expect) {