mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-29 19:47:38 +00:00
16 lines
184 B
Rust
16 lines
184 B
Rust
![]() |
trait T {
|
||
|
fn foo() {}
|
||
|
fn bar() {}
|
||
|
}
|
||
|
|
||
|
struct S;
|
||
|
impl T for S {}
|
||
|
|
||
|
fn main() {
|
||
|
<<<<<<< HEAD //~ ERROR encountered diff marker
|
||
|
S::foo();
|
||
|
=======
|
||
|
S::bar();
|
||
|
>>>>>>> branch
|
||
|
}
|