about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEllis Hoag <ellis.sparky.hoag@gmail.com>2022-08-31 22:03:05 -0700
committerEllis Hoag <ellis.sparky.hoag@gmail.com>2022-09-24 10:24:48 -0700
commit70ab0548a0afbef84583e8efe189466d4bcbf213 (patch)
tree8ffc10c088595c8703d979bfc629186ffdfc8ff0 /src
parentd3bb849fe9d663a1de780824bb8d08d01d611114 (diff)
downloadrust-70ab0548a0afbef84583e8efe189466d4bcbf213.tar.gz
rust-70ab0548a0afbef84583e8efe189466d4bcbf213.zip
lint type
Diffstat (limited to 'src')
-rw-r--r--src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs
index b5fc789c279..938c0a74af3 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -46,7 +46,7 @@ pub(crate) struct LinkageConstOrMutType {
 
 #[derive(SessionDiagnostic)]
 #[diag(codegen_gcc::lto_not_supported)]
-pub(crate) struct LTONotSupported {}
+pub(crate) struct LTONotSupported;
 
 #[derive(SessionDiagnostic)]
 #[diag(codegen_gcc::unwinding_inline_asm)]