chore: address merge and bump toolchain
This commit is contained in:
parent
312a86b46b
commit
0b17d7ea46
@ -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 {
|
||||
|
@ -1,3 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2023-01-24"
|
||||
channel = "nightly-2023-06-19"
|
||||
components = ["llvm-tools", "rustc-dev"]
|
||||
|
@ -1124,7 +1124,7 @@ struct MacroParser {
|
||||
}
|
||||
|
||||
impl MacroParser {
|
||||
const fn new(toks: Cursor) -> Self {
|
||||
const fn new(toks: TokenTreeCursor) -> Self {
|
||||
Self { toks }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user