Returns the source position where this compilation error happened.
(&self)
| 172 | |
| 173 | /// Returns the source position where this compilation error happened. |
| 174 | pub fn pos(&self) -> LineCol { |
| 175 | self.split_display_message().0 |
| 176 | } |
| 177 | |
| 178 | /// Returns this error's message without the source position prefix. |
| 179 | pub fn message_without_pos(&self) -> String { |
no test coverage detected