created_at
stringclasses
2 values
version
stringclasses
1 value
pull_number
int64
1.71k
1.76k
hints_text
stringclasses
1 value
issue_numbers
listlengths
1
1
base_commit
stringclasses
2 values
instance_id
stringclasses
2 values
test_patch
stringclasses
2 values
patch
stringclasses
2 values
problem_statement
stringclasses
2 values
repo
stringclasses
1 value
environment_setup_commit
stringclasses
1 value
FAIL_TO_PASS
listlengths
1
1
PASS_TO_PASS
listlengths
260
262
FAIL_TO_FAIL
listlengths
0
0
PASS_TO_FAIL
listlengths
0
0
2024-10-20T06:16:50Z
2.0
1,759
[ "1710" ]
e011ba794aba6aaa0d5c96368bf6cf686581ee96
dtolnay__syn-1759
diff --git a/tests/repo/mod.rs b/tests/repo/mod.rs index 6c367c944..9f8a418ab 100644 --- a/tests/repo/mod.rs +++ b/tests/repo/mod.rs @@ -25,13 +25,6 @@ static EXCLUDE_FILES: &[&str] = &[ "tests/rustdoc/unsafe-extern-blocks.rs", "tests/ui/rust-2024/unsafe-extern-blocks/safe-items.rs", - // TODO: unsafe attributes: `#[unsafe(path::to)]` - // https://github.com/dtolnay/syn/issues/1710 - "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0213_metas.rs", - "src/tools/rustfmt/tests/target/unsafe_attributes.rs", - "tests/ui/attributes/unsafe/unsafe-attributes.rs", - "tests/ui/rust-2024/unsafe-attributes/unsafe-attribute-marked.rs", - // TODO: non-lifetime binders: `where for<'a, T> &'a Struct<T>: Trait` // https://github.com/dtolnay/syn/issues/1435 "src/tools/rustfmt/tests/source/issue_5721.rs",
diff --git a/src/attr.rs b/src/attr.rs index 579452bbf..2bdf96ee7 100644 --- a/src/attr.rs +++ b/src/attr.rs @@ -653,6 +653,7 @@ pub(crate) mod parsing { use crate::parse::{Parse, ParseStream}; use crate::path::Path; use crate::{mac, token}; + use proc_macro2::Ident; use std::fmt::{self, Display}; pub(crate) fn parse_inner(input: ParseStream, attrs: &mut Vec<Attribute>) -> Result<()> { @@ -685,7 +686,7 @@ pub(crate) mod parsing { #[cfg_attr(docsrs, doc(cfg(feature = "parsing")))] impl Parse for Meta { fn parse(input: ParseStream) -> Result<Self> { - let path = input.call(Path::parse_mod_style)?; + let path = parse_outermost_meta_path(input)?; parse_meta_after_path(path, input) } } @@ -693,7 +694,7 @@ pub(crate) mod parsing { #[cfg_attr(docsrs, doc(cfg(feature = "parsing")))] impl Parse for MetaList { fn parse(input: ParseStream) -> Result<Self> { - let path = input.call(Path::parse_mod_style)?; + let path = parse_outermost_meta_path(input)?; parse_meta_list_after_path(path, input) } } @@ -701,11 +702,22 @@ pub(crate) mod parsing { #[cfg_attr(docsrs, doc(cfg(feature = "parsing")))] impl Parse for MetaNameValue { fn parse(input: ParseStream) -> Result<Self> { - let path = input.call(Path::parse_mod_style)?; + let path = parse_outermost_meta_path(input)?; parse_meta_name_value_after_path(path, input) } } + // Unlike meta::parse_meta_path which accepts arbitrary keywords in the path, + // only the `unsafe` keyword is accepted as an attribute's outermost path. + fn parse_outermost_meta_path(input: ParseStream) -> Result<Path> { + if input.peek(Token![unsafe]) { + let unsafe_token: Token![unsafe] = input.parse()?; + Ok(Path::from(Ident::new("unsafe", unsafe_token.span))) + } else { + Path::parse_mod_style(input) + } + } + pub(crate) fn parse_meta_after_path(path: Path, input: ParseStream) -> Result<Meta> { if input.peek(token::Paren) || input.peek(token::Bracket) || input.peek(token::Brace) { parse_meta_list_after_path(path, input).map(Meta::List)
Parse unsafe attributes - https://github.com/rust-lang/rust/issues/123757 - https://github.com/rust-lang/rfcs/pull/3325 ```console error: expected identifier, found keyword `unsafe` --> dev/main.rs:4:3 | 4 | #[unsafe(no_mangle)] | ^^^^^^ ```
dtolnay/syn
e011ba794aba6aaa0d5c96368bf6cf686581ee96
[ "test_unparenthesize" ]
[ "drops::test_needs_drop", "regression::issue1108::issue1108", "regression::issue1235::main", "test_async_closure", "test_async_fn", "test_bool_lit", "test_meta_item_list_bool_value", "test_meta_item_list_lit", "test_meta_item_bool_value", "test_meta_item_list_name_value", "test_meta_item_list_word", "test_meta_item_multiple", "test_meta_item_word", "test_negative_lit", "test_meta_item_name_value", "test_attr_with_non_mod_style_path", "test_ambiguous_crate", "test_attr_with_mod_style_path_with_self", "test_pub_restricted_crate", "test_fields_on_named_struct", "test_fields_on_unit_struct", "test_pub_restricted_super", "test_pub_restricted_in_super", "test_fields_on_tuple_struct", "test_unit", "test_pub_restricted", "test_union", "test_enum", "test_struct", "test_chained_comparison", "test_ambiguous_label", "test_postfix_operator_after_cast", "test_range_kinds", "test_fixup", "test_await", "test_closure_vs_rangefull", "test_binop_associativity", "test_assign_range_precedence", "test_macro_variable_macro", "test_macro_variable_struct", "test_macro_variable_unary", "test_macro_variable_func", "test_expr_parse", "test_range_precedence", "test_macro_variable_match_arm", "test_tuple_multi_index", "test_tuple_comma", "test_extended_interpolated_path", "test_where_clause_at_end_of_input", "test_ty_param_bound", "test_split_for_impl", "test_fn_precedence_in_where_clause", "test_grouping", "ident_new", "ident_new_empty - should panic", "ident_new_invalid - should panic", "ident_new_keyword", "ident_new_lifetime - should panic", "ident_new_number - should panic", "ident_new_underscore", "ident_parse", "ident_parse_empty", "ident_parse_invalid", "ident_parse_lifetime", "ident_parse_keyword", "ident_parse_number", "ident_parse_underscore", "test_impl_visibility", "test_impl_type_parameter_defaults", "test_impl_trait_trailing_plus", "test_macro_variable_attr", "test_macro_variable_impl", "test_type_empty_bounds", "test_negative_impl", "test_supertraits", "iter", "may_dangle", "no_opaque_drop", "pairs", "bytes", "byte_strings", "c_strings", "chars", "floats", "ints", "negative", "strings", "suffix", "test_error", "test_deep_group_empty", "test_parse_meta_item_word", "test_parse_meta_item_list_lit", "test_parse_path", "test_parse_meta_item_multiple", "test_parse_meta_name_value", "smuggled_speculative_cursor_between_brackets - should panic", "test_unwind_safe", "smuggled_speculative_cursor_between_sources - should panic", "trailing_empty_none_group", "smuggled_speculative_cursor_into_brackets - should panic", "test_attribute", "test_vec_stmt", "test_field", "test_punctuated", "test_pat", "test_peek_ident", "test_peek_groups", "test_peek_lifetime", "test_peek_not_lifetime", "test_peek_punct", "test_pat_ident", "test_pat_path", "test_leading_vert", "test_ranges", "test_group", "parse_parenthesized_path_arguments_with_disambiguator", "parse_interpolated_leading_component", "print_incomplete_qpath", "test_by_mut_value", "test_by_pin", "test_by_ref", "test_by_box", "test_mut_value_shorthand", "test_explicit_type", "test_ref_mut_shorthand", "test_by_value", "test_ref_mut_shorthand_with_lifetime", "test_ref_shorthand_with_lifetime", "test_ref_shorthand", "test_value_shorthand", "test_basic", "test_comment", "test_raw_invalid", "test_let_dot_dot", "test_raw_operator", "test_let_else", "test_raw_variable", "test_early_parse_loop", "test_none_group", "test_macros", "test_literal_mangling", "test_mut_self", "test_trailing_plus", "test_impl_trait_use", "test_group_angle_brackets", "test_macro_variable_type", "test_group_colons", "test_trait_object", "test_in", "test_crate_path", "test_inherited", "test_junk_after_in", "test_missing_in_path", "test_pub", "test_missing_in", "test_pub_crate", "test_pub_self", "test_pub_super", "test_inherited_vis_named_field", "test_inherited_vis_unnamed_field", "notice", "src/attr.rs - attr::Attribute (line 91)", "src/data.rs - data::Fields::members (line 118)", "src/error.rs - error::Error::new (line 139)", "src/error.rs - error::Error (line 73)", "src/expr.rs - expr::Expr::parse_with_earlier_boundary_rule (line 867)", "src/custom_punctuation.rs - custom_punctuation::custom_punctuation (line 6)", "src/expr.rs - expr::Expr::parse_without_eager_brace (line 755)", "src/error.rs - error::Error (line 32)", "src/custom_keyword.rs - custom_keyword::custom_keyword (line 10)", "src/expr.rs - expr::Expr::parse_with_earlier_boundary_rule (line 841)", "src/custom_keyword.rs - custom_keyword::custom_keyword (line 46)", "src/expr.rs - expr::Expr (line 43)", "src/error.rs - error::Error::into_compile_error (line 238)", "src/expr.rs - expr::Arm (line 1081)", "src/expr.rs - expr::Expr::parse_with_earlier_boundary_rule (line 855)", "src/ext.rs - ext::IdentExt::unraw (line 73)", "src/expr.rs - expr::Expr (line 93)", "src/expr.rs - expr::Expr (line 77)", "src/expr.rs - expr::Expr::parse_without_eager_brace (line 773)", "src/expr.rs - expr::Expr::parse_without_eager_brace (line 798)", "src/ext.rs - ext::IdentExt::parse_any (line 23)", "src/file.rs - file::File (line 15)", "src/lib.rs - parse_file (line 959) - compile", "src/lib.rs - (line 102)", "src/lib.rs - (line 132)", "src/item.rs - item::Variadic (line 859)", "src/lib.rs - (line 168)", "src/lib.rs - (line 72)", "src/lib.rs - (line 112)", "src/lifetime.rs - lifetime::Lifetime::new (line 30)", "src/lib.rs - gen::visit (line 641)", "src/lib.rs - gen::visit_mut (line 761)", "src/lib.rs - gen::fold (line 556)", "src/lit.rs - lit::LitInt::base10_parse (line 441)", "src/lit.rs - lit::LitStr::parse (line 156)", "src/lookahead.rs - lookahead::Lookahead1 (line 26)", "src/parse.rs - parse (line 131) - compile fail", "src/meta.rs - meta::ParseNestedMeta<'a>::error (line 288)", "src/meta.rs - meta::ParseNestedMeta<'a>::error (line 355)", "src/meta.rs - meta::parser (line 28)", "src/meta.rs - meta::ParseNestedMeta<'a>::error (line 318)", "src/meta.rs - meta::parser (line 41)", "src/meta.rs - meta::parser (line 94)", "src/parse.rs - parse (line 152)", "src/parse.rs - parse::Nothing (line 1337)", "src/parse.rs - parse (line 27)", "src/generics.rs - generics::Generics::split_for_impl (line 159)", "src/parse.rs - parse::ParseBuffer<'a>::call (line 479)", "src/parse.rs - parse::ParseBuffer<'a>::fork (line 845)", "src/parse.rs - parse::ParseBuffer<'a>::fork (line 888)", "src/parse.rs - parse::ParseBuffer<'a>::error (line 976)", "src/parse.rs - parse::ParseBuffer<'a>::is_empty (line 756)", "src/parse.rs - parse::ParseBuffer<'a>::fork (line 905)", "src/parse.rs - parse::ParseBuffer<'a>::lookahead1 (line 795)", "src/attr.rs - attr::Attribute::parse_nested_meta (line 346)", "src/attr.rs - attr::Attribute (line 143)", "src/attr.rs - attr::Attribute::parse_args_with (line 230)", "src/discouraged.rs - parse::discouraged::Speculative::advance_to (line 53)", "src/group.rs - group::braced (line 164)", "src/parse_macro_input.rs - parse_macro_input::parse_macro_input (line 89) - compile", "src/expr.rs - expr::Expr::PLACEHOLDER (line 717)", "src/group.rs - group::bracketed (line 243)", "src/attr.rs - attr::Attribute::parse_nested_meta (line 283)", "src/custom_punctuation.rs - custom_punctuation::custom_punctuation (line 32)", "src/attr.rs - attr::Attribute::parse_args (line 207)", "src/parse.rs - parse::ParseBuffer<'a>::peek (line 531)", "src/group.rs - group::parenthesized (line 106)", "src/parse.rs - parse::ParseBuffer<'a>::parse_terminated (line 698)", "src/parse.rs - parse::ParseBuffer<'a>::peek2 (line 598)", "src/pat.rs - pat::parsing::Pat::parse_single (line 273) - compile fail", "src/lit.rs - lit::LitStr::parse_with (line 193)", "src/parse_macro_input.rs - parse_macro_input::parse_macro_input (line 56)", "src/parse_macro_input.rs - parse_macro_input::parse_macro_input (line 18)", "src/parse_quote.rs - parse_quote::parse_quote (line 35)", "src/lib.rs - parse_str (line 930)", "src/pat.rs - pat::parsing::Pat::parse_multi_with_leading_vert (line 348)", "src/parse_quote.rs - parse_quote::parse_quote_spanned (line 81)", "src/pat.rs - pat::parsing::Pat::parse_multi_with_leading_vert (line 359)", "src/lib.rs - gen::visit (line 679)", "src/path.rs - path::Path::is_ident (line 48)", "src/mac.rs - mac::Macro::parse_body (line 62)", "src/path.rs - path::parsing::Path::parse_mod_style (line 549)", "src/stmt.rs - stmt::parsing::Block::parse_within (line 106)", "src/token.rs - token (line 15)", "src/spanned.rs - spanned (line 22)", "src/lib.rs - gen::visit (line 715)", "src/token.rs - token (line 43)", "src/token.rs - token::Token (line 807)", "src/parse.rs - parse (line 102)", "src/token.rs - token::Token (line 831)", "src/lib.rs - gen::visit_mut (line 799)", "src/meta.rs - meta::ParseNestedMeta<'a>::parse_nested_meta (line 213)", "src/meta.rs - meta::ParseNestedMeta<'a>::value (line 179)", "src/meta.rs - meta::ParseNestedMeta<'a>::parse_nested_meta (line 249)", "src/parse.rs - parse::ParseBuffer<'a>::cursor (line 1099)", "src/parse.rs - parse::ParseBuffer<'a>::parse_terminated (line 651)", "src/parse.rs - parse::ParseBuffer<'a>::step (line 1013)", "src/lib.rs - gen::fold (line 597)", "src/parse.rs - parse::StepCursor (line 299)", "src/punctuated.rs - punctuated::Pair<T,P>::punct_mut (line 993)", "src/parse_quote.rs - parse_quote::parse_quote (line 11)" ]
[]
[]
2024-07-22T01:04:17Z
2.0
1,714
[ "1501" ]
4132a0ca1e80251460d947e0b34145cdced9043b
dtolnay__syn-1714
diff --git a/tests/repo/mod.rs b/tests/repo/mod.rs index d7a1f5dc1..6c367c944 100644 --- a/tests/repo/mod.rs +++ b/tests/repo/mod.rs @@ -32,19 +32,6 @@ static EXCLUDE_FILES: &[&str] = &[ "tests/ui/attributes/unsafe/unsafe-attributes.rs", "tests/ui/rust-2024/unsafe-attributes/unsafe-attribute-marked.rs", - // TODO: explicit tail calls: `become _g()` - // https://github.com/dtolnay/syn/issues/1501 - "src/tools/miri/tests/fail/tail_calls/cc-mismatch.rs", - "src/tools/miri/tests/fail/tail_calls/signature-mismatch-arg.rs", - "src/tools/miri/tests/pass/tail_call.rs", - "src/tools/rust-analyzer/crates/parser/test_data/parser/inline/ok/0209_become_expr.rs", - "tests/mir-opt/tail_call_drops.rs", - "tests/ui/explicit-tail-calls/ctfe-arg-good-borrow.rs", - "tests/ui/explicit-tail-calls/ctfe-arg-move.rs", - "tests/ui/explicit-tail-calls/ctfe-collatz-multi-rec.rs", - "tests/ui/explicit-tail-calls/drop-order.rs", - "tests/ui/explicit-tail-calls/return-lifetime-sub.rs", - // TODO: non-lifetime binders: `where for<'a, T> &'a Struct<T>: Trait` // https://github.com/dtolnay/syn/issues/1435 "src/tools/rustfmt/tests/source/issue_5721.rs", diff --git a/tests/test_precedence.rs b/tests/test_precedence.rs index 07f913948..99c935f24 100644 --- a/tests/test_precedence.rs +++ b/tests/test_precedence.rs @@ -238,7 +238,7 @@ fn librustc_parenthesize(mut librustc_expr: P<ast::Expr>) -> P<ast::Expr> { fn noop_visit_expr<T: MutVisitor>(e: &mut Expr, vis: &mut T) { match &mut e.kind { - ExprKind::AddrOf(BorrowKind::Raw, ..) => {} + ExprKind::AddrOf(BorrowKind::Raw, ..) | ExprKind::Become(..) => {} ExprKind::Struct(expr) => { let StructExpr { qself,
diff --git a/src/expr.rs b/src/expr.rs index 62ebdad85..8e1e461d8 100644 --- a/src/expr.rs +++ b/src/expr.rs @@ -1741,6 +1741,8 @@ pub(crate) mod parsing { input.parse().map(Expr::Continue) } else if input.peek(Token![return]) { input.parse().map(Expr::Return) + } else if input.peek(Token![become]) { + expr_become(input) } else if input.peek(token::Bracket) { array_or_repeat(input) } else if input.peek(Token![let]) { @@ -2393,6 +2395,16 @@ pub(crate) mod parsing { } } + #[cfg(feature = "full")] + fn expr_become(input: ParseStream) -> Result<Expr> { + let begin = input.fork(); + input.parse::<Token![become]>()?; + if can_begin_expr(input) { + input.parse::<Expr>()?; + } + Ok(Expr::Verbatim(verbatim::between(&begin, input))) + } + #[cfg(feature = "full")] #[cfg_attr(docsrs, doc(cfg(feature = "parsing")))] impl Parse for ExprTryBlock {
Parse explicit tail call syntax https://github.com/rust-lang/rust/pull/112887
dtolnay/syn
e011ba794aba6aaa0d5c96368bf6cf686581ee96
[ "test_unparenthesize" ]
[ "drops::test_needs_drop", "regression::issue1108::issue1108", "regression::issue1235::main", "test_async_closure", "test_async_fn", "test_bool_lit", "test_meta_item_bool_value", "test_meta_item_list_bool_value", "test_meta_item_list_word", "test_meta_item_name_value", "test_meta_item_list_lit", "test_meta_item_list_name_value", "test_meta_item_multiple", "test_meta_item_word", "test_negative_lit", "test_attr_with_non_mod_style_path", "test_ambiguous_crate", "test_attr_with_mod_style_path_with_self", "test_fields_on_unit_struct", "test_pub_restricted_crate", "test_fields_on_named_struct", "test_pub_restricted", "test_pub_restricted_in_super", "test_pub_restricted_super", "test_fields_on_tuple_struct", "test_union", "test_unit", "test_enum", "test_struct", "test_ambiguous_label", "test_postfix_operator_after_cast", "test_range_kinds", "test_fixup", "test_await", "test_binop_associativity", "test_assign_range_precedence", "test_closure_vs_rangefull", "test_expr_parse", "test_macro_variable_func", "test_macro_variable_macro", "test_macro_variable_unary", "test_macro_variable_struct", "test_extended_interpolated_path", "test_tuple_comma", "test_range_precedence", "test_macro_variable_match_arm", "test_tuple_multi_index", "test_where_clause_at_end_of_input", "test_fn_precedence_in_where_clause", "test_ty_param_bound", "test_split_for_impl", "test_grouping", "ident_new", "ident_new_invalid - should panic", "ident_new_empty - should panic", "ident_new_keyword", "ident_new_lifetime - should panic", "ident_new_number - should panic", "ident_new_underscore", "ident_parse", "ident_parse_empty", "ident_parse_invalid", "ident_parse_keyword", "ident_parse_lifetime", "ident_parse_number", "ident_parse_underscore", "test_impl_visibility", "test_impl_type_parameter_defaults", "test_impl_trait_trailing_plus", "test_macro_variable_attr", "test_macro_variable_impl", "test_type_empty_bounds", "test_negative_impl", "test_supertraits", "iter", "may_dangle", "pairs", "bytes", "byte_strings", "c_strings", "chars", "floats", "ints", "negative", "strings", "suffix", "test_error", "test_deep_group_empty", "test_parse_meta_item_word", "test_parse_meta_item_list_lit", "test_parse_meta_item_multiple", "test_parse_meta_name_value", "test_parse_path", "smuggled_speculative_cursor_between_brackets - should panic", "smuggled_speculative_cursor_between_sources - should panic", "smuggled_speculative_cursor_into_brackets - should panic", "trailing_empty_none_group", "test_unwind_safe", "test_punctuated", "test_vec_stmt", "test_field", "test_attribute", "test_pat", "test_peek_ident", "test_peek_lifetime", "test_peek_groups", "test_peek_not_lifetime", "test_peek_punct", "test_pat_ident", "test_pat_path", "test_leading_vert", "test_ranges", "test_group", "parse_parenthesized_path_arguments_with_disambiguator", "print_incomplete_qpath", "parse_interpolated_leading_component", "test_by_mut_value", "test_by_ref", "test_by_box", "test_by_pin", "test_by_value", "test_explicit_type", "test_mut_value_shorthand", "test_ref_mut_shorthand_with_lifetime", "test_ref_shorthand", "test_ref_mut_shorthand", "test_value_shorthand", "test_ref_shorthand_with_lifetime", "test_basic", "test_comment", "test_raw_invalid", "test_let_dot_dot", "test_let_else", "test_early_parse_loop", "test_raw_operator", "test_macros", "test_raw_variable", "test_none_group", "test_literal_mangling", "test_mut_self", "test_group_angle_brackets", "test_group_colons", "test_impl_trait_use", "test_macro_variable_type", "test_trailing_plus", "test_trait_object", "test_in", "test_crate_path", "test_inherited", "test_missing_in", "test_junk_after_in", "test_missing_in_path", "test_pub", "test_pub_crate", "test_pub_self", "test_pub_super", "test_inherited_vis_named_field", "test_inherited_vis_unnamed_field", "notice", "src/expr.rs - expr::Expr::parse_without_eager_brace (line 758)", "src/custom_keyword.rs - custom_keyword::custom_keyword (line 10)", "src/expr.rs - expr::Expr::parse_with_earlier_boundary_rule (line 852)", "src/error.rs - error::Error::into_compile_error (line 238)", "src/error.rs - error::Error::new (line 139)", "src/expr.rs - expr::Arm (line 1065)", "src/error.rs - error::Error (line 32)", "src/error.rs - error::Error (line 73)", "src/expr.rs - expr::Expr::parse_without_eager_brace (line 740)", "src/expr.rs - expr::Expr (line 93)", "src/expr.rs - expr::Expr::parse_with_earlier_boundary_rule (line 826)", "src/expr.rs - expr::Expr (line 43)", "src/attr.rs - attr::Attribute (line 91)", "src/ext.rs - ext::IdentExt::unraw (line 73)", "src/custom_punctuation.rs - custom_punctuation::custom_punctuation (line 6)", "src/expr.rs - expr::Expr::parse_with_earlier_boundary_rule (line 840)", "src/expr.rs - expr::Expr (line 77)", "src/custom_keyword.rs - custom_keyword::custom_keyword (line 46)", "src/expr.rs - expr::Expr::parse_without_eager_brace (line 783)", "src/file.rs - file::File (line 15)", "src/ext.rs - ext::IdentExt::parse_any (line 23)", "src/lib.rs - parse_file (line 974) - compile", "src/lib.rs - (line 132)", "src/lib.rs - (line 102)", "src/lib.rs - (line 112)", "src/lib.rs - gen::fold (line 551)", "src/lib.rs - (line 168)", "src/item.rs - item::Variadic (line 859)", "src/lifetime.rs - lifetime::Lifetime::new (line 30)", "src/lib.rs - gen::visit_mut (line 756)", "src/lib.rs - (line 72)", "src/lib.rs - parse (line 889)", "src/lib.rs - gen::visit (line 636)", "src/lit.rs - lit::LitInt::base10_parse (line 441)", "src/lit.rs - lit::LitStr::parse (line 156)", "src/lookahead.rs - lookahead::Lookahead1 (line 26)", "src/parse.rs - parse (line 131) - compile fail", "src/meta.rs - meta::ParseNestedMeta<'a>::error (line 355)", "src/meta.rs - meta::ParseNestedMeta<'a>::error (line 318)", "src/meta.rs - meta::ParseNestedMeta<'a>::error (line 288)", "src/meta.rs - meta::parser (line 28)", "src/meta.rs - meta::parser (line 94)", "src/meta.rs - meta::parser (line 41)", "src/parse.rs - parse (line 152)", "src/parse.rs - parse (line 27)", "src/parse.rs - parse::Nothing (line 1337)", "src/attr.rs - attr::Attribute (line 143)", "src/parse.rs - parse::ParseBuffer<'a>::call (line 479)", "src/parse.rs - parse::ParseBuffer<'a>::error (line 976)", "src/parse.rs - parse::ParseBuffer<'a>::fork (line 845)", "src/group.rs - group::bracketed (line 243)", "src/parse.rs - parse::ParseBuffer<'a>::fork (line 888)", "src/parse.rs - parse::ParseBuffer<'a>::is_empty (line 756)", "src/parse.rs - parse::ParseBuffer<'a>::fork (line 905)", "src/generics.rs - generics::Generics::split_for_impl (line 318)", "src/expr.rs - expr::Expr::PLACEHOLDER (line 702)", "src/group.rs - group::braced (line 164)", "src/parse.rs - parse::ParseBuffer<'a>::lookahead1 (line 795)", "src/discouraged.rs - parse::discouraged::Speculative::advance_to (line 53)", "src/attr.rs - attr::Attribute::parse_nested_meta (line 283)", "src/attr.rs - attr::Attribute::parse_args_with (line 230)", "src/attr.rs - attr::Attribute::parse_nested_meta (line 346)", "src/parse_macro_input.rs - parse_macro_input::parse_macro_input (line 89) - compile", "src/attr.rs - attr::Attribute::parse_args (line 207)", "src/parse.rs - parse::ParseBuffer<'a>::parse_terminated (line 698)", "src/parse.rs - parse::ParseBuffer<'a>::peek (line 531)", "src/custom_punctuation.rs - custom_punctuation::custom_punctuation (line 32)", "src/parse.rs - parse::ParseBuffer<'a>::peek2 (line 598)", "src/pat.rs - pat::parsing::Pat::parse_single (line 273) - compile fail", "src/lit.rs - lit::LitStr::parse_with (line 193)", "src/parse_macro_input.rs - parse_macro_input::parse_macro_input (line 18)", "src/group.rs - group::parenthesized (line 106)", "src/lib.rs - parse_str (line 945)", "src/parse_macro_input.rs - parse_macro_input::parse_macro_input (line 56)", "src/pat.rs - pat::parsing::Pat::parse_multi_with_leading_vert (line 359)", "src/parse_quote.rs - parse_quote::parse_quote (line 35)", "src/parse_quote.rs - parse_quote::parse_quote_spanned (line 81)", "src/pat.rs - pat::parsing::Pat::parse_multi_with_leading_vert (line 348)", "src/path.rs - path::parsing::Path::parse_mod_style (line 542)", "src/path.rs - path::Path::is_ident (line 48)", "src/lib.rs - gen::visit (line 674)", "src/lib.rs - gen::visit (line 710)", "src/lib.rs - gen::visit_mut (line 794)", "src/token.rs - token (line 15)", "src/spanned.rs - spanned (line 22)", "src/mac.rs - mac::Macro::parse_body (line 62)", "src/stmt.rs - stmt::parsing::Block::parse_within (line 106)", "src/token.rs - token (line 43)", "src/token.rs - token::Token (line 806)", "src/token.rs - token::Token (line 830)", "src/parse.rs - parse (line 102)", "src/meta.rs - meta::ParseNestedMeta<'a>::parse_nested_meta (line 213)", "src/meta.rs - meta::ParseNestedMeta<'a>::parse_nested_meta (line 249)", "src/meta.rs - meta::ParseNestedMeta<'a>::value (line 179)", "src/parse.rs - parse::ParseBuffer<'a>::cursor (line 1099)", "src/parse.rs - parse::ParseBuffer<'a>::parse_terminated (line 651)", "src/lib.rs - gen::fold (line 592)", "src/parse.rs - parse::ParseBuffer<'a>::step (line 1013)", "src/parse.rs - parse::StepCursor (line 299)", "src/punctuated.rs - punctuated::Pair<T,P>::punct_mut (line 993)", "src/parse_quote.rs - parse_quote::parse_quote (line 11)" ]
[]
[]