Add support for diff3 format

This commit is contained in:
Esteban Küber 2022-12-28 20:55:46 -08:00
parent 698ebe357f
commit 62c8e3144a
3 changed files with 14 additions and 2 deletions

View file

@ -2,8 +2,10 @@ enum E {
Foo {
<<<<<<< HEAD //~ ERROR encountered diff marker
x: u8,
|||||||
z: (),
=======
x: i8,
y: i8,
>>>>>>> branch
}
}

View file

@ -4,9 +4,12 @@ error: encountered diff marker
LL | <<<<<<< HEAD
| ^^^^^^^ after this is the code before the merge
LL | x: u8,
LL | |||||||
| -------
LL | z: (),
LL | =======
| -------
LL | x: i8,
LL | y: i8,
LL | >>>>>>> branch
| ^^^^^^^ above this are the incoming code changes
|