We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This code:
#![feature(rust_2018_preview)] #![warn(rust_2018_breakage)] mod m { use foo; crate fn bar() { foo(); } } fn foo() {} fn main() { m::bar(); }
on nightly produces no warnings, but to compile in the 2018 edition the use statement needs to be rewritten to crate::.
use
crate::