Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dtolnay/syn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.93
Choose a base ref
...
head repository: dtolnay/syn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.94
Choose a head ref
  • 9 commits
  • 7 files changed
  • 1 contributor

Commits on May 10, 2022

  1. Remove doc(hidden) attribute that is being phased out

        warning: `#[doc(hidden)]` is ignored on trait impl items
            --> src/parse.rs:1220:5
             |
        1220 |     #[doc(hidden)]
             |     ^^^^^^^^^^^^^^ help: remove this attribute
             |
             = note: `#[warn(unused_attributes)]` on by default
             = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
             = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
    
        warning: `#[doc(hidden)]` is ignored on trait impl items
            --> src/parse.rs:1236:5
             |
        1236 |     #[doc(hidden)]
             |     ^^^^^^^^^^^^^^ help: remove this attribute
             |
             = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
             = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
    dtolnay committed May 10, 2022
    Configuration menu
    Copy the full SHA
    11b4a93 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2022

  1. Ignore unused_macro_rules warning in test macros

        warning: 2nd rule of macro `snapshot_impl` is never used
          --> tests/macros/mod.rs:44:5
           |
        44 |     (($($expr:tt)*) as $t:ty, @$snapshot:literal) => {{
           |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = note: `#[warn(unused_macro_rules)]` on by default
    
        warning: 1st rule of macro `snapshot_impl` is never used
          --> tests/macros/mod.rs:37:5
           |
        37 |     (($expr:ident) as $t:ty, @$snapshot:literal) => {
           |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        warning: 3rd rule of macro `snapshot_impl` is never used
          --> tests/macros/mod.rs:52:5
           |
        52 |     (($($expr:tt)*) , @$snapshot:literal) => {{
           |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        warning: 2nd rule of macro `spanless_eq_enum` is never used
           --> tests/common/eq.rs:225:5
            |
        225 | /     {
        226 | |         $($name:ident)::+;
        227 | |         $([$($variant:ident)::+; $($fields:tt)*])*
        228 | |         $next:ident [$([$($named:tt)*])* $(![$ignore:tt])*] (!$i:tt $($field:tt)*)
        229 | |         $($rest:tt)*
        230 | |     } => {
            | |_____^
            |
            = note: `#[warn(unused_macro_rules)]` on by default
    dtolnay committed May 13, 2022
    Configuration menu
    Copy the full SHA
    189c60c View commit details
    Browse the repository at this point in the history
  2. Fix obsolete rule in check_keyword_matches

        warning: 1st rule of macro `check_keyword_matches` is never used
           --> src/macros.rs:176:5
            |
        176 |     (struct struct) => {};
            |     ^^^^^^^^^^^^^^^
    dtolnay committed May 13, 2022
    Configuration menu
    Copy the full SHA
    16315f5 View commit details
    Browse the repository at this point in the history
  3. Fix obsolete rule in ast_enum_of_structs

        warning: 1st rule of macro `ast_enum_of_structs` is never used
          --> src/macros.rs:56:5
           |
        56 | /     (
        57 | |         $(#[$enum_attr:meta])*
        58 | |         $pub:ident $enum:ident $name:ident #$tag:ident $body:tt
        59 | |         $($remaining:tt)*
        60 | |     ) => {
           | |_____^
           |
           = note: `#[warn(unused_macro_rules)]` on by default
    dtolnay committed May 13, 2022
    Configuration menu
    Copy the full SHA
    e3798ce View commit details
    Browse the repository at this point in the history
  4. Fix unused macro rule in no-default-features mode

        warning: 1st rule of macro `ast_struct` is never used
         --> src/macros.rs:2:5
          |
        2 | /     (
        3 | |         [$($attrs_pub:tt)*]
        4 | |         struct $name:ident #full $($rest:tt)*
        5 | |     ) => {
          | |_____^
          |
          = note: `#[warn(unused_macro_rules)]` on by default
    dtolnay committed May 13, 2022
    Configuration menu
    Copy the full SHA
    accffbf View commit details
    Browse the repository at this point in the history
  5. Format with rustfmt 1.4.38

    dtolnay committed May 13, 2022
    Configuration menu
    Copy the full SHA
    2fc9b71 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    209165e View commit details
    Browse the repository at this point in the history
  7. Yet another unused macro rules lint

        warning: 1st rule of macro `generate_to_tokens` is never used
           --> src/macros.rs:120:5
            |
        120 |     (do_not_generate_to_tokens $($foo:tt)*) => ();
            |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = note: `#[warn(unused_macro_rules)]` on by default
    
        warning: 2nd rule of macro `generate_to_tokens` is never used
           --> src/macros.rs:122:5
            |
        122 | /     (
        123 | |         ($($arms:tt)*) $tokens:ident $name:ident {
        124 | |             $(#[cfg $cfg_attr:tt])*
        125 | |             $(#[doc $($doc_attr:tt)*])*
        ...   |
        128 | |         }
        129 | |     ) => {
            | |_____^
    dtolnay committed May 13, 2022
    Configuration menu
    Copy the full SHA
    f1396f5 View commit details
    Browse the repository at this point in the history
  8. Release 1.0.94

    dtolnay committed May 13, 2022
    Configuration menu
    Copy the full SHA
    fd1a51c View commit details
    Browse the repository at this point in the history
Loading