mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
17 lines
191 B
Rust
17 lines
191 B
Rust
trait T {
|
|
fn foo(
|
|
<<<<<<< HEAD //~ ERROR encountered diff marker
|
|
x: u8,
|
|
=======
|
|
x: i8,
|
|
>>>>>>> branch
|
|
) {}
|
|
}
|
|
|
|
struct S;
|
|
impl T for S {}
|
|
|
|
fn main() {
|
|
S::foo(42);
|
|
}
|