Skip to content

Commit ecc0507

Browse files
committed
docs/test: add empty error-docs for E0208, E0640 and E0717
1 parent cc47b06 commit ecc0507

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

compiler/rustc_error_codes/src/error_codes.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ E0204: include_str!("./error_codes/E0204.md"),
110110
E0205: include_str!("./error_codes/E0205.md"),
111111
E0206: include_str!("./error_codes/E0206.md"),
112112
E0207: include_str!("./error_codes/E0207.md"),
113+
E0208: include_str!("./error_codes/E0208.md"),
113114
E0210: include_str!("./error_codes/E0210.md"),
114115
E0211: include_str!("./error_codes/E0211.md"),
115116
E0212: include_str!("./error_codes/E0212.md"),
@@ -387,6 +388,7 @@ E0636: include_str!("./error_codes/E0636.md"),
387388
E0637: include_str!("./error_codes/E0637.md"),
388389
E0638: include_str!("./error_codes/E0638.md"),
389390
E0639: include_str!("./error_codes/E0639.md"),
391+
E0640: include_str!("./error_codes/E0640.md"),
390392
E0641: include_str!("./error_codes/E0641.md"),
391393
E0642: include_str!("./error_codes/E0642.md"),
392394
E0643: include_str!("./error_codes/E0643.md"),
@@ -434,6 +436,7 @@ E0713: include_str!("./error_codes/E0713.md"),
434436
E0714: include_str!("./error_codes/E0714.md"),
435437
E0715: include_str!("./error_codes/E0715.md"),
436438
E0716: include_str!("./error_codes/E0716.md"),
439+
E0717: include_str!("./error_codes/E0717.md"),
437440
E0718: include_str!("./error_codes/E0718.md"),
438441
E0719: include_str!("./error_codes/E0719.md"),
439442
E0720: include_str!("./error_codes/E0720.md"),
@@ -540,7 +543,6 @@ E0791: include_str!("./error_codes/E0791.md"),
540543
// E0190, // deprecated: can only cast a &-pointer to an &-object
541544
// E0194, // merged into E0403
542545
// E0196, // cannot determine a type for this closure
543-
E0208, // internal error code
544546
// E0209, // builtin traits can only be implemented on structs or enums
545547
// E0213, // associated types are not accepted in this context
546548
// E0215, // angle-bracket notation is not stable with `Fn`
@@ -633,14 +635,12 @@ E0791: include_str!("./error_codes/E0791.md"),
633635
// E0629, // missing 'feature' (rustc_const_unstable)
634636
// E0630, // rustc_const_unstable attribute must be paired with stable/unstable
635637
// attribute
636-
E0640, // infer outlives requirements, internal error code
637638
// E0645, // trait aliases not finished
638639
// E0694, // an unknown tool name found in scoped attributes
639640
// E0702, // replaced with a generic attribute input check
640641
// E0707, // multiple elided lifetimes used in arguments of `async fn`
641642
// E0709, // multiple different lifetimes used in arguments of `async fn`
642643
E0711, // a feature has been declared with conflicting stability attributes, internal error code
643-
E0717, // rustc_promotable without stability attribute, internal error code
644644
// E0721, // `await` keyword
645645
// E0723, // unstable feature in `const` context
646646
// E0738, // Removed; errored on `#[track_caller] fn`s in `extern "Rust" { ... }`.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#### This error code is internal to the compiler and will not be emitted with normal Rust code.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#### This error code is internal to the compiler and will not be emitted with normal Rust code.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#### This error code is internal to the compiler and will not be emitted with normal Rust code.

0 commit comments

Comments
 (0)