fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
461 B12 linesraw
1error[E0053]: method `call_once` has an incompatible type for trait
2  --> $DIR/issue-15094.rs:11:5
3   |
4LL |     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
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0053`.