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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
634 B
Plaintext
Raw Normal View History

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 importing it and using it unqualified: `Ty<'_>`
2019-04-24 23:24:00 +02:00
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2019-04-24 23:24:00 +02:00
--> $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 importing it and using it unqualified: `TyCtxt<'_>`
2019-04-24 23:24:00 +02:00
error: aborting due to 2 previous errors