You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use foo::bar::baz and ::foo::bar::baz where foo is not an external crate name, crate, self, or super. It should suggest use crate::foo::bar::baz; or ::crate::foo::bar::baz instead
The text was updated successfully, but these errors were encountered:
Manishearth
changed the title
Add epoch lint for fully qualified paths that do not use crate, self, or super
Add epoch idiom lint for fully qualified paths that do not use crate, self, or superMar 21, 2018
Manishearth
changed the title
Add epoch idiom lint for fully qualified paths that do not use crate, self, or super
Add epoch breakage lint for fully qualified paths that do not use crate, self, or superApr 20, 2018
Edition breakage lint for absolute paths starting with modules
We plan to enable `extern_absolute_paths` in the 2018 edition. To allow for that, folks must transition their paths in a previous edition to the new one. This makes paths which import module contents via `use module::` or `::module::` obsolete, and we must edition-lint these.
https://internals.rust-lang.org/t/the-great-module-adventure-continues/6678/205?u=manishearth is the current plan for paths.
r? @nikomatsakisFixes#48722
We need to add a 2018 epoch lint for:
use foo::bar::baz
and::foo::bar::baz
wherefoo
is not an external crate name,crate
,self
, orsuper
. It should suggestuse crate::foo::bar::baz;
or::crate::foo::bar::baz
insteadThe text was updated successfully, but these errors were encountered: