mirror of
https://git.proxmox.com/git/rustc
synced 2026-01-14 21:49:07 +00:00
17 lines
250 B
Rust
17 lines
250 B
Rust
//@ compile-flags:-C debuginfo=1
|
|
//@ min-lldb-version: 310
|
|
|
|
pub trait TraitWithDefaultMethod : Sized {
|
|
fn method(self) {
|
|
()
|
|
}
|
|
}
|
|
|
|
struct MyStruct;
|
|
|
|
impl TraitWithDefaultMethod for MyStruct { }
|
|
|
|
pub fn main() {
|
|
MyStruct.method();
|
|
}
|