Skip to content

Commit 3c56d8d

Browse files
committed
fix error-index test
1 parent 48d7f8d commit 3c56d8d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/librustc_typeck/diagnostics.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3109,7 +3109,10 @@ where
31093109
31103110
```
31113111
#![feature(dispatch_from_dyn)]
3112-
use std::ops::DispatchFromDyn;
3112+
use std::{
3113+
ops::DispatchFromDyn,
3114+
marker::PhantomData,
3115+
};
31133116
31143117
struct Wrapper<T> {
31153118
ptr: T,

0 commit comments

Comments
 (0)