-
-
Notifications
You must be signed in to change notification settings - Fork 307
Comparing changes
Open a pull request
base repository: dtolnay/syn
base: 1.0.93
head repository: dtolnay/syn
compare: 1.0.94
- 9 commits
- 7 files changed
- 1 contributor
Commits on May 10, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for 11b4a93 - Browse repository at this point
Copy the full SHA 11b4a93View commit details
Commits on May 13, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for 189c60c - Browse repository at this point
Copy the full SHA 189c60cView commit details -
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) => {}; | ^^^^^^^^^^^^^^^
Configuration menu - View commit details
-
Copy full SHA for 16315f5 - Browse repository at this point
Copy the full SHA 16315f5View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e3798ce - Browse repository at this point
Copy the full SHA e3798ceView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for accffbf - Browse repository at this point
Copy the full SHA accffbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fc9b71 - Browse repository at this point
Copy the full SHA 2fc9b71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 209165e - Browse repository at this point
Copy the full SHA 209165eView commit details -
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 | | ) => { | |_____^
Configuration menu - View commit details
-
Copy full SHA for f1396f5 - Browse repository at this point
Copy the full SHA f1396f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd1a51c - Browse repository at this point
Copy the full SHA fd1a51cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.0.93...1.0.94