Function syntax::test::ignored_span [−][src]
fn ignored_span(cx: &TestCtxt, sp: Span) -> Span
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Craft a span that will be ignored by the stability lint's
call to codemap's is_internal
check.
The expanded code calls some unstable functions in the test crate.