File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ They mostly consist of real-world crates.
40
40
- ** serde** : A serialization/deserialization crate. Used by many other
41
41
Rust programs.
42
42
- ** stm32f4** : A crate that has many thousands of blanket impl blocks.
43
- - ** syn** : A library for parsing Rust code. An important part of the Rust
43
+ - ** syn-1.0.89 ** : A library for parsing Rust code. An important part of the Rust
44
44
ecosystem.
45
45
- ** unicode_normalization** : Unicode character composition and decomposition
46
46
utilities. Uses huge ` match ` statements that stress the compiler in unusual
@@ -141,6 +141,6 @@ Rust code being written today.
141
141
- ** piston-image** : See above.
142
142
- ** style-servo** : An old version of Servo's ` style ` crate. A large crate, and
143
143
one used by old versions of Firefox.
144
- - ** syn** : See above.
144
+ - ** syn** : See above. This is an older version (0.11.11) of the crate.
145
145
- ** tokio-webpush-simple** : A simple web server built with a very old version
146
146
of tokio. Uses futures a lot, but doesn't use ` async ` /` await ` .
Original file line number Diff line number Diff line change
1
+ diff --git a/src/lifetime.rs b/src/lifetime.rs
2
+ index 5dc1753a..61f28dde 100644
3
+ --- a/src/lifetime.rs
4
+ +++ b/src/lifetime.rs
5
+ @@ -37,6 +37,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 {:?}",
Original file line number Diff line number Diff line change @@ -135,3 +135,5 @@ proc-macro = [
135
135
test = [" syn-test-suite/all-features" ]
136
136
visit = []
137
137
visit-mut = []
138
+
139
+ [workspace ]
You can’t perform that action at this time.
0 commit comments