Skip to content

Commit 5bb70c1

Browse files
Fix tidy issues
1 parent 243fb6f commit 5bb70c1

File tree

12 files changed

+15
-20
lines changed

12 files changed

+15
-20
lines changed

src/librustc_error_codes/error_codes/E0015.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
A constant item was initialized with something that is not a constant expression.
1+
A constant item was initialized with something that is not a constant
2+
expression.
23

34
Erroneous code example:
45

src/librustc_error_codes/error_codes/E0107.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ fn main() {
2525
// expected 0, found 1
2626
}
2727
```
28-

src/librustc_error_codes/error_codes/E0369.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ left and may require reallocation. This requires ownership of the string
2626
on the left. If something should be added to a string literal, move the
2727
literal to the heap by allocating it with `to_owned()` like in
2828
`"Your text".to_owned()`.
29-

src/librustc_error_codes/error_codes/E0404.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,3 @@ trait Foo {
4141
4242
fn bar<T: Foo>(t: T) {} // ok!
4343
```
44-

src/librustc_error_codes/error_codes/E0458.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ Please specify a valid "kind" value, from one of the following:
1010
* static
1111
* dylib
1212
* framework
13-

src/librustc_error_codes/error_codes/E0633.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ The `#[unwind]` attribute should be used as follows:
2121

2222
NB. The default behavior here is "allowed", but this is unspecified
2323
and likely to change in the future.
24-

src/librustc_error_codes/error_codes/E0635.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ Erroneous code example:
55
```compile_fail,E0635
66
#![feature(nonexistent_rust_feature)] // error: unknown feature
77
```
8-

src/librustc_error_codes/error_codes/E0636.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ Erroneous code example:
77
#![feature(rust1)]
88
#![feature(rust1)] // error: the feature `rust1` has already been declared
99
```
10-

src/librustc_error_codes/error_codes/E0641.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ let a = &(String::from("Hello world!")) as *const _; // Ok
1616
let b = 0 as *const i32; // Ok
1717
1818
let c: *const i32 = 0 as *const _; // Ok
19-
```
19+
```

src/librustc_error_codes/error_codes/E0644.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ closure call itself by capturing a `&Fn()` object or `fn()` pointer
2727
that refers to itself. That is permitting, since the closure would be
2828
invoking itself via a virtual call, and hence does not directly
2929
reference its own *type*.
30-

0 commit comments

Comments
 (0)