rust/tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr

21 lines
634 B
Plaintext
Raw Normal View History

2019-04-24 16:24:00 -05:00
error: usage of qualified `ty::Ty<'_>`
--> $DIR/qualified_ty_ty_ctxt.rs:25:11
|
LL | ty_q: ty::Ty<'_>,
| ^^^^^^^^^^ help: try importing it and using it unqualified: `Ty<'_>`
2019-04-24 16:24:00 -05:00
|
2020-01-22 17:57:38 -06:00
note: the lint level is defined here
2019-04-24 16:24:00 -05:00
--> $DIR/qualified_ty_ty_ctxt.rs:4:9
|
2019-06-24 03:43:51 -05:00
LL | #![deny(rustc::usage_of_qualified_ty)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-04-24 16:24:00 -05:00
2019-06-13 16:48:52 -05:00
error: usage of qualified `ty::TyCtxt<'_>`
2019-04-24 16:24:00 -05:00
--> $DIR/qualified_ty_ty_ctxt.rs:27:16
|
2019-06-13 16:48:52 -05:00
LL | ty_ctxt_q: ty::TyCtxt<'_>,
| ^^^^^^^^^^^^^^ help: try importing it and using it unqualified: `TyCtxt<'_>`
2019-04-24 16:24:00 -05:00
error: aborting due to 2 previous errors