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