Skip to content

Commit 120067f

Browse files
authored
Merge pull request #2126 from Kobzol/syn-2.0.101-new-solver
Add `syn-2.0.101-new-solver`
2 parents 03951e8 + 2cedf07 commit 120067f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+67744
-0
lines changed

collector/compile-benchmarks/REUSE.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,11 @@ path = "syn-2.0.101/**"
230230
SPDX-FileCopyrightText = "syn contributors"
231231
SPDX-License-Identifier = "MIT OR Apache-2.0"
232232

233+
[[annotations]]
234+
path = "syn-2.0.101-new-solver/**"
235+
SPDX-FileCopyrightText = "syn contributors"
236+
SPDX-License-Identifier = "MIT OR Apache-2.0"
237+
233238
[[annotations]]
234239
path = "token-stream-stress/**"
235240
SPDX-FileCopyrightText = "The Rust Project Developers (see https://thanks.rust-lang.org)"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"git": {
3+
"sha1": "58336a3fb49b63aae0ae2e708a69167543ff0e97"
4+
},
5+
"path_in_vcs": ""
6+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/lifetime.rs b/src/lifetime.rs
2+
index cc189d1a..6a1c6ebb 100644
3+
--- a/src/lifetime.rs
4+
+++ b/src/lifetime.rs
5+
@@ -36,6 +36,7 @@ impl Lifetime {
6+
/// # }
7+
/// ```
8+
pub fn new(symbol: &str, span: Span) -> Self {
9+
+ println!("testing");
10+
if !symbol.starts_with('\'') {
11+
panic!(
12+
"lifetime name must start with apostrophe as in \"'a\", got {:?}",

0 commit comments

Comments
 (0)