File tree 1 file changed +12
-2
lines changed
compiler/rustc_parse/src/parser
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -3050,8 +3050,18 @@ impl<'a> Parser<'a> {
3050
3050
if let Some ( end) = end {
3051
3051
err. span_label ( end, "this marker concludes the conflict region" ) ;
3052
3052
}
3053
- err. help ( "conflict markers indicate that a merge was started but could not be completed due to merge conflicts" ) ;
3054
- err. help ( "to resolve a conflict, keep only the code you want and then delete the lines containing conflict markers" ) ;
3053
+ err. note (
3054
+ "conflict markers indicate that a merge was started but could not be completed due \
3055
+ to merge conflicts\n \
3056
+ to resolve a conflict, keep only the code you want and then delete the lines \
3057
+ containing conflict markers",
3058
+ ) ;
3059
+ err. help (
3060
+ "if you're having merge conflicts after pulling new code, the top section is the code \
3061
+ you already had and the bottom section is the remote code\n \
3062
+ if you're in the middle of a rebase, the top section is the code being rebased onto \
3063
+ and the bottom section is the code coming from the current commit being rebased",
3064
+ ) ;
3055
3065
3056
3066
err. note (
3057
3067
"for an explanation on these markers from the `git` documentation, visit \
You can’t perform that action at this time.
0 commit comments