1 error[E0308]: `?` operator has incompatible types
2 --> $DIR/issue-100246.rs:28:24
4 LL | let other: Other = downcast()?;
5 | ^^^^^^^^^^^ expected struct `Other`, found reference
7 = note: `?` operator cannot convert from `&_` to `Other`
8 = note: expected struct `Other`
11 error: aborting due to previous error
13 For more information about this error, try `rustc --explain E0308`.