Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
struct Example {
example: Box<dyn Fn(i32) -> i32>
}
fn main() {
let demo = Example {
example: Box::new(|x| {
x + 1
})
};
demo.example(1);
//~^ ERROR no method named `example`
// (demo.example)(1);