1
Fork 0

rustc_middle: Fix opt_item_ident for non-local def ids

This commit is contained in:
Vadim Petrochenkov 2023-05-03 19:27:29 +03:00
parent 82cd953c7c
commit 6f6c379ee0
23 changed files with 88 additions and 42 deletions

View file

@ -28,7 +28,8 @@ note: required because it appears within the type `Bar`
|
LL | pub struct Bar {
| ^^^
= note: required because it appears within the type `PhantomData<Bar>`
note: required because it appears within the type `PhantomData<Bar>`
--> $SRC_DIR/core/src/marker.rs:LL:COL
note: required because it appears within the type `Foo`
--> $DIR/recursive-requirements.rs:5:12
|