Skip to content

Commit 021d8f6

Browse files
author
Nick Hamann
committed
---
yaml --- r: 214741 b: refs/heads/beta c: efb5a85 h: refs/heads/master i: 214739: da867c4 v: v3
1 parent 2263805 commit 021d8f6

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: b593359f7f90d7cb9ec71a4b99f9b1396603a8a8
26+
refs/heads/beta: efb5a85e59c07075bf39969ff4dc6390f49a8794
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 8c0aa6d64ebab528f7eb182812007155d6044972
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/librustc_typeck/diagnostics.rs

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -979,10 +979,10 @@ const C: [u32; 0.0] = []; // error
979979
"##,
980980

981981
E0250: r##"
982-
This means there was an error while evaluating the expression for the length of
983-
a fixed-size array type.
982+
There was an error while evaluating the expression for the length of a fixed-
983+
size array type.
984984
985-
Some examples of code that produces this error are:
985+
Some examples of this error are:
986986
987987
```
988988
// divide by zero in the length expression
@@ -1032,9 +1032,7 @@ impl Foo for Bar {
10321032

10331033
E0368: r##"
10341034
This error indicates that a binary assignment operator like `+=` or `^=` was
1035-
applied to the wrong types.
1036-
1037-
A couple examples of this are as follows:
1035+
applied to the wrong types. For example:
10381036
10391037
```
10401038
let mut x: u16 = 5;
@@ -1097,8 +1095,7 @@ Trying to implement a trait for a trait object (as in `impl Trait1 for
10971095
Trait2 { ... }`) does not work if the trait is not object-safe. Please see the
10981096
[RFC 255] for more details on object safety rules.
10991097
1100-
[RFC 255]:https://github.com/rust-lang/rfcs/blob/master/text/0255-object-\
1101-
safety.md
1098+
[RFC 255]: https://github.com/rust-lang/rfcs/pull/255
11021099
"##
11031100

11041101
}

0 commit comments

Comments
 (0)