2019-04-24 23:24:00 +02:00
|
|
|
error: usage of qualified `ty::Ty<'_>`
|
|
|
|
--> $DIR/qualified_ty_ty_ctxt.rs:25:11
|
|
|
|
|
|
|
|
|
LL | ty_q: ty::Ty<'_>,
|
|
|
|
| ^^^^^^^^^^ help: try using it unqualified: `Ty<'_>`
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/qualified_ty_ty_ctxt.rs:4:9
|
|
|
|
|
|
2019-06-24 10:43:51 +02:00
|
|
|
LL | #![deny(rustc::usage_of_qualified_ty)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2019-04-24 23:24:00 +02:00
|
|
|
|
2019-06-14 00:48:52 +03:00
|
|
|
error: usage of qualified `ty::TyCtxt<'_>`
|
2019-04-24 23:24:00 +02:00
|
|
|
--> $DIR/qualified_ty_ty_ctxt.rs:27:16
|
|
|
|
|
|
2019-06-14 00:48:52 +03:00
|
|
|
LL | ty_ctxt_q: ty::TyCtxt<'_>,
|
|
|
|
| ^^^^^^^^^^^^^^ help: try using it unqualified: `TyCtxt<'_>`
|
2019-04-24 23:24:00 +02:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|