Skip to content

Add epoch breakage lint for fully qualified paths that do not use crate, self, or super #48722

Closed
@Manishearth

Description

@Manishearth

We need to add a 2018 epoch lint for:

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

Metadata

Metadata

Assignees

Labels

A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.WG-epochWorking group: Epoch (2018) management

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions