summaryrefslogtreecommitdiffstats
path: root/tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr
blob: a1056cf85d307d7efa558cda3ab8d5153391cb59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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<'_>`
   |
note: the lint level is defined here
  --> $DIR/qualified_ty_ty_ctxt.rs:4:9
   |
LL | #![deny(rustc::usage_of_qualified_ty)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: usage of qualified `ty::TyCtxt<'_>`
  --> $DIR/qualified_ty_ty_ctxt.rs:27:16
   |
LL |     ty_ctxt_q: ty::TyCtxt<'_>,
   |                ^^^^^^^^^^^^^^ help: try importing it and using it unqualified: `TyCtxt<'_>`

error: aborting due to 2 previous errors