]> git.proxmox.com Git - rustc.git/blob - src/test/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui-fulldeps / internal-lints / qualified_ty_ty_ctxt.stderr
1 error: usage of qualified `ty::Ty<'_>`
2 --> $DIR/qualified_ty_ty_ctxt.rs:25:11
3 |
4 LL | ty_q: ty::Ty<'_>,
5 | ^^^^^^^^^^ help: try using it unqualified: `Ty<'_>`
6 |
7 note: lint level defined here
8 --> $DIR/qualified_ty_ty_ctxt.rs:4:9
9 |
10 LL | #![deny(rustc::usage_of_qualified_ty)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: usage of qualified `ty::TyCtxt<'_>`
14 --> $DIR/qualified_ty_ty_ctxt.rs:27:16
15 |
16 LL | ty_ctxt_q: ty::TyCtxt<'_>,
17 | ^^^^^^^^^^^^^^ help: try using it unqualified: `TyCtxt<'_>`
18
19 error: aborting due to 2 previous errors
20