1 error[E0599]: no method named `honk` found for type `{integer}` in the current scope
2 --> $DIR/issue-1871.rs:17:9
4 LL | f.honk() //~ ERROR no method named `honk` found
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0599`.