You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Generated by formatting with rustfmt 2.0.0-rc.2 and then a second time with fbsource's current rustfmt (1.4.14).
This results in formatting for which rustfmt 1.4 is idempotent but is closer to the style of rustfmt 2.0, reducing the amount of code that will need to change atomically in that upgrade.
---
*Why now?* **:** The 1.x branch is no longer being developed and fixes like rust-lang/rustfmt#4159 (which we need in fbcode) only land to the 2.0 branch.
---
Reviewed By: StanislavGlebik
Differential Revision: D23568780
fbshipit-source-id: b4b4a0aa683d236e2fdeb5b96d723ac2d84b9faf
Copy file name to clipboardExpand all lines: eden/mononoke/blobrepo/errors/src/lib.rs
+9-3
Original file line number
Diff line number
Diff line change
@@ -114,15 +114,21 @@ pub enum ErrorKind {
114
114
BonsaiMappingNotFound(HgChangesetId),
115
115
#[error("Root path wasn't expected at this context")]
116
116
UnexpectedRootPath,
117
-
#[error("Incorrect copy info: not found a file version {from_path} {from_node} the file {to_path} {to_node} was copied from")]
117
+
#[error(
118
+
"Incorrect copy info: not found a file version {from_path} {from_node} the file {to_path} {to_node} was copied from"
119
+
)]
118
120
IncorrectCopyInfo{
119
121
from_path:MPath,
120
122
from_node:HgFileNodeId,
121
123
to_path:MPath,
122
124
to_node:HgFileNodeId,
123
125
},
124
-
#[error("CaseConflict: the changes introduced by this commit have conflicting case. The first offending path is '{0}'. Resolve the conflict.")]
126
+
#[error(
127
+
"CaseConflict: the changes introduced by this commit have conflicting case. The first offending path is '{0}'. Resolve the conflict."
128
+
)]
125
129
InternalCaseConflict(MPath),
126
-
#[error("CaseConflict: the changes introduced by this commit conflict with existing files in the repository. The first conflicting path in this commit was '{0}', and conflicted with '{1}' in the repository. Resolve the conflict.")]
130
+
#[error(
131
+
"CaseConflict: the changes introduced by this commit conflict with existing files in the repository. The first conflicting path in this commit was '{0}', and conflicted with '{1}' in the repository. Resolve the conflict."
0 commit comments