File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/test/ui-fulldeps/internal-lints Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ impl<'tcx> LateLintPass<'tcx> for TyTyKind {
108108 lint. build ( & format ! ( "usage of qualified `ty::{}`" , t) )
109109 . span_suggestion (
110110 path. span ,
111- "try using it unqualified" ,
111+ "try importing it and using it unqualified" ,
112112 t,
113113 // The import probably needs to be changed
114114 Applicability :: MaybeIncorrect ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ error: usage of qualified `ty::Ty<'_>`
22 --> $DIR/qualified_ty_ty_ctxt.rs:25:11
33 |
44LL | ty_q: ty::Ty<'_>,
5- | ^^^^^^^^^^ help: try using it unqualified: `Ty<'_>`
5+ | ^^^^^^^^^^ help: try importing it and using it unqualified: `Ty<'_>`
66 |
77note: the lint level is defined here
88 --> $DIR/qualified_ty_ty_ctxt.rs:4:9
@@ -14,7 +14,7 @@ error: usage of qualified `ty::TyCtxt<'_>`
1414 --> $DIR/qualified_ty_ty_ctxt.rs:27:16
1515 |
1616LL | ty_ctxt_q: ty::TyCtxt<'_>,
17- | ^^^^^^^^^^^^^^ help: try using it unqualified: `TyCtxt<'_>`
17+ | ^^^^^^^^^^^^^^ help: try importing it and using it unqualified: `TyCtxt<'_>`
1818
1919error: aborting due to 2 previous errors
2020
You can’t perform that action at this time.
0 commit comments