-
-
Notifications
You must be signed in to change notification settings - Fork 356
Comparing changes
Open a pull request
base repository: dtolnay/syn
base: 1.0.91
head repository: dtolnay/syn
compare: 1.0.92
- 16 commits
- 11 files changed
- 3 contributors
Commits on Apr 6, 2022
-
Remove codepath in test_round_trip that is no longer reached
I haven't been able to get the most recent rustc to produce that message anymore.
Configuration menu - View commit details
-
Copy full SHA for 31e969c - Browse repository at this point
Copy the full SHA 31e969cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ba41ef - Browse repository at this point
Copy the full SHA 4ba41efView commit details -
Avoid loading XID_Start table on ASCII-only input
#![feature(test)] extern crate test; use unicode_xid::UnicodeXID; #[bench] fn bench(b: &mut test::Bencher) { b.iter(|| { for _ in 0..1000 { let ident = test::black_box("is_xid_start"); test::black_box(xid_ok(ident)); } }); } fn xid_ok(symbol: &str) -> bool { let mut chars = symbol.chars(); let first = chars.next().unwrap(); if !(first == '_' || UnicodeXID::is_xid_start(first)) { return false; } for ch in chars { if !UnicodeXID::is_xid_continue(ch) { return false; } } true }Configuration menu - View commit details
-
Copy full SHA for d453663 - Browse repository at this point
Copy the full SHA d453663View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13bf252 - Browse repository at this point
Copy the full SHA 13bf252View commit details
Commits on Apr 9, 2022
-
Eliminates a clippy lint: error: `crate` references the macro call's crate --> tests/macros/mod.rs:40:21 | 40 | let $expr = crate::macros::Tokens::parse::<$t>($expr).unwrap(); | ^^^^^ help: to reference the macro definition's crate, use: `$crate` | = note: `-D clippy::crate-in-macro-def` implied by `-D clippy::all` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#crate_in_macro_defConfiguration menu - View commit details
-
Copy full SHA for 9fd668c - Browse repository at this point
Copy the full SHA 9fd668cView commit details
Commits on Apr 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for fd145a9 - Browse repository at this point
Copy the full SHA fd145a9View commit details
Commits on Apr 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a94fde5 - Browse repository at this point
Copy the full SHA a94fde5View commit details
Commits on Apr 23, 2022
-
Added
dynto Type::TraitObject docsThe old syntax is now a compile error, and it makes it difficult for users to search when they are looking for the keyword "dyn" on the documentation.
Configuration menu - View commit details
-
Copy full SHA for 8c3684e - Browse repository at this point
Copy the full SHA 8c3684eView commit details -
Merge pull request #1162 from SOF3/patch-1
Added `dyn` to Type::TraitObject docs
Configuration menu - View commit details
-
Copy full SHA for 15c9e94 - Browse repository at this point
Copy the full SHA 15c9e94View commit details
Commits on Apr 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ce0335b - Browse repository at this point
Copy the full SHA ce0335bView commit details
Commits on Apr 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ff84ce0 - Browse repository at this point
Copy the full SHA ff84ce0View commit details
Commits on Apr 29, 2022
-
Avoid Box invalidation, for tag-raw-pointers
It looks like the only outstanding issue aliasing issue in this repo (with raw pointer tagging) was this one move of a Box after saving a pointer to the allocation that the Box guards. This is UB according to the Stacked Borrows with raw pointer tagging in combination with the way rustc applies noalias to Box. As is often the case, the resolution here is to convert the Box down to a raw pointer before a pointer into the allocation is created.
Configuration menu - View commit details
-
Copy full SHA for 95f242c - Browse repository at this point
Copy the full SHA 95f242cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9b0685 - Browse repository at this point
Copy the full SHA b9b0685View commit details -
Merge pull request #1166 from saethlin/raw-pointer-tagging
Avoid Box invalidation to be compatible with tag-raw-pointers
Configuration menu - View commit details
-
Copy full SHA for 5d7d112 - Browse repository at this point
Copy the full SHA 5d7d112View commit details -
Configuration menu - View commit details
-
Copy full SHA for 000c0a6 - Browse repository at this point
Copy the full SHA 000c0a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 069bdf5 - Browse repository at this point
Copy the full SHA 069bdf5View 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.91...1.0.92