diff options
| author | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-08-16 00:16:14 +0900 |
|---|---|---|
| committer | Takayuki Maeda <takoyaki0316@gmail.com> | 2022-08-16 00:16:14 +0900 |
| commit | 4d1b5f0d997b567b558a3fb88bd4724ba6e32f32 (patch) | |
| tree | bb031ce4e221b32d848292a51ca79c00209b93cd /compiler/rustc_errors/src | |
| parent | 0068b8bf4b150b506ef0871be4e8652fd4308f84 (diff) | |
| download | rust-4d1b5f0d997b567b558a3fb88bd4724ba6e32f32.tar.gz rust-4d1b5f0d997b567b558a3fb88bd4724ba6e32f32.zip | |
suggest adding an array length if possible
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 15c1858023d..4d4d44580b7 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -457,6 +457,7 @@ struct HandlerInner { #[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)] pub enum StashKey { ItemNoType, + UnderscoreForArrayLengths, } fn default_track_diagnostic(_: &Diagnostic) {} |
