rust/tests/rustdoc-html/extern/auxiliary/rustdoc-extern-method.rs
2026-01-07 14:23:30 +01:00

7 lines
180 B
Rust

#![crate_type="lib"]
#![feature(unboxed_closures)]
pub trait Foo {
extern "rust-call" fn foo(&self, _: ()) -> i32;
extern "rust-call" fn foo_(&self, _: ()) -> i32 { 0 }
}