Skip to content

Add syn-2.0.101-new-solver #2126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions collector/compile-benchmarks/REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@ path = "syn-2.0.101/**"
SPDX-FileCopyrightText = "syn contributors"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "syn-2.0.101-new-solver/**"
SPDX-FileCopyrightText = "syn contributors"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "token-stream-stress/**"
SPDX-FileCopyrightText = "The Rust Project Developers (see https://thanks.rust-lang.org)"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"git": {
"sha1": "58336a3fb49b63aae0ae2e708a69167543ff0e97"
},
"path_in_vcs": ""
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/lifetime.rs b/src/lifetime.rs
index cc189d1a..6a1c6ebb 100644
--- a/src/lifetime.rs
+++ b/src/lifetime.rs
@@ -36,6 +36,7 @@ impl Lifetime {
/// # }
/// ```
pub fn new(symbol: &str, span: Span) -> Self {
+ println!("testing");
if !symbol.starts_with('\'') {
panic!(
"lifetime name must start with apostrophe as in \"'a\", got {:?}",
Loading
Loading