Switch to in-tree rustc dependencies with a cfg flag

This commit is contained in:
hkalbasi 2023-09-15 18:10:11 +03:30
parent 12e28c3575
commit f4704bc8ae
18 changed files with 118 additions and 31 deletions

View file

@ -19,6 +19,7 @@
//! [RFC]: <https://github.com/rust-lang/rfcs/pull/2256>
//! [Swift]: <https://github.com/apple/swift/blob/13d593df6f359d0cb2fc81cfaac273297c539455/lib/Syntax/README.md>
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
#[allow(unused)]