]> git.lizzy.rs Git - rust.git/blob - tests/ui-fulldeps/internal-lints/qualified_ty_ty_ctxt.stderr
Auto merge of #107000 - GuillaumeGomez:fix-items-in-doc-hidden-block, r=notriddle...
[rust.git] / tests / 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 importing it and using it unqualified: `Ty<'_>`
6    |
7 note: the lint level is 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 importing it and using it unqualified: `TyCtxt<'_>`
18
19 error: aborting due to 2 previous errors
20