Commit c61ce65
committed
bugfix(compiler): Fix punctuation/newline of bare crate-root diagnostics.
The "Failed to get main module file" and "{path} not found" messages
reported when a crate's main module file is missing were inconsistent
with every other diagnostic: the former lacked a trailing newline (so
it ran into following output, since FormattedDiagnosticEntry's Display
adds none and entries are emitted via eprint!), and both lacked the
trailing period that diagnostic messages conventionally carry. Add the
missing newline and periods.1 parent 5051f92 commit c61ce65
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
0 commit comments