Skip to content

Commit 91ff8c2

Browse files
f
1 parent 60c2aab commit 91ff8c2

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

library/Cargo.lock

+5
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ name = "proc_macro"
235235
version = "0.0.0"
236236
dependencies = [
237237
"core",
238+
"rustc-literal-escaper",
238239
"std",
239240
]
240241

@@ -310,6 +311,10 @@ dependencies = [
310311
"rustc-std-workspace-core",
311312
]
312313

314+
[[package]]
315+
name = "rustc-literal-escaper"
316+
version = "0.0.1"
317+
313318
[[package]]
314319
name = "rustc-std-workspace-alloc"
315320
version = "1.99.0"

library/proc_macro/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ std = { path = "../std" }
99
# `core` when resolving doc links. Without this line a different `core` will be
1010
# loaded from sysroot causing duplicate lang items and other similar errors.
1111
core = { path = "../core" }
12-
rustc-literal-escaper = "0.0.1"
12+
rustc-literal-escaper = { version = "0.0.2", features = ["rustc-dep-of-std"] }

library/proc_macro/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#![feature(panic_can_unwind)]
2828
#![feature(restricted_std)]
2929
#![feature(rustc_attrs)]
30+
#![feature(stmt_expr_attributes)]
3031
#![feature(extend_one)]
3132
#![recursion_limit = "256"]
3233
#![allow(internal_features)]

0 commit comments

Comments
 (0)