Skip to content

Commit 6eab980

Browse files
committed
Add note about feature gates
1 parent ec7efa7 commit 6eab980

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/proc_macro/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
test(no_crate_inject, attr(deny(warnings))),
1818
test(attr(allow(dead_code, deprecated, unused_variables, unused_mut)))
1919
)]
20+
// This library is copied into rust-analyzer to allow loading rustc compiled proc macros.
21+
// Please avoid unstable features where possible to minimize the amount of changes necessary
22+
// to make it compile with rust-analyzer on stable.
2023
#![feature(rustc_allow_const_fn_unstable)]
2124
#![feature(nll)]
2225
#![feature(staged_api)]

0 commit comments

Comments
 (0)