chore: address merge and bump toolchain

This commit is contained in:
Caleb Cartwright 2023-06-19 21:29:15 -05:00
parent 312a86b46b
commit 0b17d7ea46
3 changed files with 2 additions and 9 deletions

View File

@ -64,13 +64,6 @@ fn is_attr_path(attr: &syn::Attribute, name: &str) -> bool {
}
}
fn is_attr_path(attr: &syn::Attribute, name: &str) -> bool {
attr.parse_meta().ok().map_or(false, |meta| match meta {
syn::Meta::Path(path) if path.is_ident(name) => true,
_ => false,
})
}
fn get_name_value_str_lit(attr: &syn::Attribute, name: &str) -> Option<String> {
match &attr.meta {
syn::Meta::NameValue(syn::MetaNameValue {

View File

@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-01-24"
channel = "nightly-2023-06-19"
components = ["llvm-tools", "rustc-dev"]

View File

@ -1124,7 +1124,7 @@ struct MacroParser {
}
impl MacroParser {
const fn new(toks: Cursor) -> Self {
const fn new(toks: TokenTreeCursor) -> Self {
Self { toks }
}