]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-15094.stderr
New upstream version 1.60.0+dfsg1
[rustc.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`.