]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-15094.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[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:21:5
3    |
4 LL |     fn call_once(self, _args: ()) {
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected "rust-call" fn, found "Rust" fn
6    |
7    = note: expected type `extern "rust-call" fn(Debuger<T>, ())`
8               found type `fn(Debuger<T>, ())`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0053`.