1 #![cfg(nightly)] 2 #![no_core] 3 #![feature(no_core)] 4 5 // Make sure the items generated by pin-project-lite don't depend on paths like 6 // `core`, `core::prelude::*`, etc. 7 // 8 // Note: 9 // - pin-project-lite depends on core's items and is not really usable 10 // in a no-core environment. 11 12 extern crate core as _core; 13 14 // Dummy module to check that the expansion refers to the crate. 15 mod pin_project_lite {} 16 17 pub mod module { 18 use _core::{fmt::Debug, include, prelude::v1::derive}; 19 20 include!("../include/basic.rs"); 21 } 22 23 use _core::{fmt::Debug, include, prelude::v1::derive}; 24 25 include!("../include/basic.rs"); 26