diff options
| author | Michael Sproul <micsproul@gmail.com> | 2015-04-15 21:54:01 +1000 |
|---|---|---|
| committer | Michael Sproul <micsproul@gmail.com> | 2015-04-17 21:35:24 +1000 |
| commit | 6d2b6d5a19224eee279c44e8ff2bb37ba331d1df (patch) | |
| tree | 0106105e8f7bd7aadb15454bd247f205258c4899 /src/librustc | |
| parent | c54f43a5d18c89f65f22a179e8e6d05ce9c1d36c (diff) | |
| download | rust-6d2b6d5a19224eee279c44e8ff2bb37ba331d1df.tar.gz rust-6d2b6d5a19224eee279c44e8ff2bb37ba331d1df.zip | |
Enforce 80 char lines in extended errors.
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/diagnostics.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index fedcd582cd9..092d0cc4424 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -55,15 +55,17 @@ underscore `_` wildcard pattern can be added after all other patterns to match // FIXME: Remove duplication here? E0005: r##" -Patterns used to bind names must be irrefutable, that is, they must guarantee that a -name will be extracted in all cases. If you encounter this error you probably need -to use a `match` or `if let` to deal with the possibility of failure. +Patterns used to bind names must be irrefutable, that is, they must guarantee +that a name will be extracted in all cases. If you encounter this error you +probably need to use a `match` or `if let` to deal with the possibility of +failure. "##, E0006: r##" -Patterns used to bind names must be irrefutable, that is, they must guarantee that a -name will be extracted in all cases. If you encounter this error you probably need -to use a `match` or `if let` to deal with the possibility of failure. +Patterns used to bind names must be irrefutable, that is, they must guarantee +that a name will be extracted in all cases. If you encounter this error you +probably need to use a `match` or `if let` to deal with the possibility of +failure. "##, E0007: r##" |
