diff options
| author | bors <bors@rust-lang.org> | 2017-01-16 11:17:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-01-16 11:17:34 +0000 |
| commit | 11ad6fe52aa201fadee8f1084b95793d5cc39bdc (patch) | |
| tree | be1fb287567006d393f59e76eaaa3c527d11126a /src | |
| parent | 14bfdfdff569bfc885a01dbbdec679b4e623e205 (diff) | |
| parent | ac321a792a25935b1052b74e5b00ae3ef9ea29f5 (diff) | |
| download | rust-11ad6fe52aa201fadee8f1084b95793d5cc39bdc.tar.gz rust-11ad6fe52aa201fadee8f1084b95793d5cc39bdc.zip | |
Auto merge of #39072 - radix:patch-1, r=GuillaumeGomez
Minor improvement to strange grammar in E0525 Hi, I just ran into this error from rustc, and it had some strange grammar, so I cleaned it up a bit.
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/diagnostics.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 1655c716b6b..636d543a071 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -1618,8 +1618,7 @@ fn cookie() -> ! { // error: definition of an unknown language item: `cookie` "##, E0525: r##" -A closure was attempted to get used whereas it doesn't implement the expected -trait. +A closure was used but didn't implement the expected trait. Erroneous code example: |
