]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-15094.stderr
Rollup merge of #100168 - WaffleLapkin:improve_diagnostics_for_missing_type_in_a_cons...
[rust.git] / src / test / ui / issues / issue-15094.stderr
1 error[E0053]: method `call_once` has an incompatible type for trait
2   --> $DIR/issue-15094.rs:11:5
3    |
4 LL |     fn call_once(self, _args: ()) {
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected "rust-call" fn, found "Rust" fn
6    |
7    = note: expected fn pointer `extern "rust-call" fn(Debuger<_>, ())`
8               found fn pointer `fn(Debuger<_>, ())`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0053`.