diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-01 16:11:48 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-10-07 09:50:50 +1100 |
| commit | 7a9bbd05c42f1c6b0d920a4e741ea28452916c99 (patch) | |
| tree | d149ca3f3cba6d9e45aef4bb4991de25d140db2d /compiler/rustc_infer/src/errors/mod.rs | |
| parent | cfeee7bcbf182a6c22083c7dfb56c6034a65d0a0 (diff) | |
| download | rust-7a9bbd05c42f1c6b0d920a4e741ea28452916c99.tar.gz rust-7a9bbd05c42f1c6b0d920a4e741ea28452916c99.zip | |
Rename `errors/mod.rs` as `errors.rs`.
It's simpler, for this tiny module.
Diffstat (limited to 'compiler/rustc_infer/src/errors/mod.rs')
| -rw-r--r-- | compiler/rustc_infer/src/errors/mod.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/compiler/rustc_infer/src/errors/mod.rs b/compiler/rustc_infer/src/errors/mod.rs deleted file mode 100644 index 76ea9c3433d..00000000000 --- a/compiler/rustc_infer/src/errors/mod.rs +++ /dev/null @@ -1,14 +0,0 @@ -use rustc_macros::Diagnostic; -use rustc_span::Span; - -#[derive(Diagnostic)] -#[diag(infer_opaque_hidden_type)] -pub(crate) struct OpaqueHiddenTypeDiag { - #[primary_span] - #[label] - pub span: Span, - #[note(infer_opaque_type)] - pub opaque_type: Span, - #[note(infer_hidden_type)] - pub hidden_type: Span, -} |
