Skip to content

Commit a20870b

Browse files
committed
Comment out unused error codes in error_codes.rs
1 parent 022720b commit a20870b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

compiler/rustc_error_codes/src/error_codes.rs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ E0783: include_str!("./error_codes/E0783.md"),
553553
E0311, // thing may not live long enough
554554
E0313, // lifetime of borrowed pointer outlives lifetime of captured
555555
// variable
556-
E0314, // closure outlives stack frame
557-
E0315, // cannot invoke closure outside of its lifetime
556+
// E0314, // closure outlives stack frame
557+
// E0315, // cannot invoke closure outside of its lifetime
558558
E0316, // nested quantification of lifetimes
559559
// E0319, // trait impls for defaulted traits allowed just for structs/enums
560560
E0320, // recursive overflow during dropck
@@ -584,21 +584,21 @@ E0783: include_str!("./error_codes/E0783.md"),
584584
// E0470, removed
585585
// E0471, // constant evaluation error (in pattern)
586586
E0472, // llvm_asm! is unsupported on this target
587-
E0473, // dereference of reference outside its lifetime
588-
E0474, // captured variable `..` does not outlive the enclosing closure
589-
E0475, // index of slice outside its lifetime
587+
// E0473, // dereference of reference outside its lifetime
588+
// E0474, // captured variable `..` does not outlive the enclosing closure
589+
// E0475, // index of slice outside its lifetime
590590
E0476, // lifetime of the source pointer does not outlive lifetime bound...
591-
E0479, // the type `..` (provided as the value of a type parameter) is...
592-
E0480, // lifetime of method receiver does not outlive the method call
593-
E0481, // lifetime of function argument does not outlive the function call
591+
// E0479, // the type `..` (provided as the value of a type parameter) is...
592+
// E0480, // lifetime of method receiver does not outlive the method call
593+
// E0481, // lifetime of function argument does not outlive the function call
594594
E0482, // lifetime of return value does not outlive the function call
595-
E0483, // lifetime of operand does not outlive the operation
596-
E0484, // reference is not valid at the time of borrow
597-
E0485, // automatically reference is not valid at the time of borrow
598-
E0486, // type of expression contains references that are not valid during..
599-
E0487, // unsafe use of destructor: destructor might be called while...
600-
E0488, // lifetime of variable does not enclose its declaration
601-
E0489, // type/lifetime parameter not in scope here
595+
// E0483, // lifetime of operand does not outlive the operation
596+
// E0484, // reference is not valid at the time of borrow
597+
// E0485, // automatically reference is not valid at the time of borrow
598+
// E0486, // type of expression contains references that are not valid during..
599+
// E0487, // unsafe use of destructor: destructor might be called while...
600+
// E0488, // lifetime of variable does not enclose its declaration
601+
// E0489, // type/lifetime parameter not in scope here
602602
E0490, // a value of type `..` is borrowed for too long
603603
E0498, // malformed plugin attribute
604604
E0514, // metadata version mismatch

0 commit comments

Comments
 (0)