(&self, f: &mut fmt::Formatter)
| 43 | |
| 44 | impl fmt::Display for SourceLoc { |
| 45 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |
| 46 | if self.is_default() { |
| 47 | write!(f, "@-") |
| 48 | } else { |
| 49 | write!(f, "@{:04x}", self.0) |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | /// Source location relative to another base source location. |
nothing calls this directly
no test coverage detected