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