Add in-rust-tree feature to hir-expand

This commit is contained in:
Laurențiu Nicola 2024-04-20 18:44:27 +03:00
parent c83d8cf584
commit 4c94e69115
7 changed files with 11 additions and 4 deletions

View file

@ -3,7 +3,7 @@
//! Specifically, it implements a concept of `MacroFile` -- a file whose syntax
//! tree originates not from the text of some `FileId`, but from some macro
//! expansion.
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
#![warn(rust_2018_idioms, unused_lifetimes)]
pub mod attrs;