about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/lib.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-04 09:51:03 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-05 10:18:29 +1100
commit53fe37de2e11537bf2953a29df3c5be8a8858850 (patch)
tree4efe83d18213618f342f9a65658999153e87a2a0 /compiler/rustc_feature/src/lib.rs
parent36aab8df0ab8a76f1c4f95ce8becefdd8a6fe526 (diff)
downloadrust-53fe37de2e11537bf2953a29df3c5be8a8858850.tar.gz
rust-53fe37de2e11537bf2953a29df3c5be8a8858850.zip
Remove unused `Span` from the `set` function in `State::Active`.
Diffstat (limited to 'compiler/rustc_feature/src/lib.rs')
-rw-r--r--compiler/rustc_feature/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_feature/src/lib.rs b/compiler/rustc_feature/src/lib.rs
index 69e33115922..b4933d6339c 100644
--- a/compiler/rustc_feature/src/lib.rs
+++ b/compiler/rustc_feature/src/lib.rs
@@ -23,14 +23,14 @@ mod removed;
 #[cfg(test)]
 mod tests;
 
-use rustc_span::{edition::Edition, symbol::Symbol, Span};
+use rustc_span::{edition::Edition, symbol::Symbol};
 use std::fmt;
 use std::num::NonZeroU32;
 
 #[derive(Clone, Copy)]
 pub enum State {
     Accepted,
-    Active { set: fn(&mut Features, Span) },
+    Active { set: fn(&mut Features) },
     Removed { reason: Option<&'static str> },
     Stabilized { reason: Option<&'static str> },
 }