error[E0599]: no method named `kaname` found for type `Homura` in the current scope
- --> $DIR/issue-19692.rs:14:40
+ --> $DIR/issue-19692.rs:4:40
|
LL | struct Homura;
| -------------- method `kaname` not found for this
...
-LL | let Some(ref madoka) = Some(homura.kaname()); //~ ERROR no method named `kaname` found
+LL | let Some(ref madoka) = Some(homura.kaname());
| ^^^^^^
error: aborting due to previous error