Skip to content

Commit 0b17d7e

Browse files
chore: address merge and bump toolchain
1 parent 312a86b commit 0b17d7e

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

config_proc_macro/src/attrs.rs

-7
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,6 @@ fn is_attr_path(attr: &syn::Attribute, name: &str) -> bool {
6464
}
6565
}
6666

67-
fn is_attr_path(attr: &syn::Attribute, name: &str) -> bool {
68-
attr.parse_meta().ok().map_or(false, |meta| match meta {
69-
syn::Meta::Path(path) if path.is_ident(name) => true,
70-
_ => false,
71-
})
72-
}
73-
7467
fn get_name_value_str_lit(attr: &syn::Attribute, name: &str) -> Option<String> {
7568
match &attr.meta {
7669
syn::Meta::NameValue(syn::MetaNameValue {

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2023-01-24"
2+
channel = "nightly-2023-06-19"
33
components = ["llvm-tools", "rustc-dev"]

src/macros.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ struct MacroParser {
11241124
}
11251125

11261126
impl MacroParser {
1127-
const fn new(toks: Cursor) -> Self {
1127+
const fn new(toks: TokenTreeCursor) -> Self {
11281128
Self { toks }
11291129
}
11301130

0 commit comments

Comments
 (0)