2023-05-23 03:23:52 +00:00
|
|
|
error[E0308]: mismatched types
|
2023-10-30 15:54:08 +00:00
|
|
|
--> $DIR/arbitrary-self-from-method-substs.rs:16:5
|
2023-05-23 03:23:52 +00:00
|
|
|
|
|
|
|
|
LL | foo.get::<&Foo>();
|
|
|
|
| ^^^ expected `&Foo`, found `Foo`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|