Skip to content

Commit 369efd0

Browse files
committed
Lint fixes
1 parent eb84c8b commit 369efd0

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/bin/miri.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
extern crate rustc_data_structures;
99
extern crate rustc_driver;
10-
extern crate rustc_errors;
1110
extern crate rustc_hir;
1211
extern crate rustc_interface;
1312
extern crate rustc_metadata;

src/concurrency/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ macro_rules! declare_id {
4444
}
4545

4646
impl $name {
47-
pub fn to_u32_scalar<'tcx>(&self) -> Scalar<Provenance> {
47+
pub fn to_u32_scalar(&self) -> Scalar<Provenance> {
4848
Scalar::from_u32(self.0.get())
4949
}
5050
}

src/shims/unix/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ impl FileDescriptor for DummyOutput {
246246
Ok(Ok(bytes.len()))
247247
}
248248

249-
fn dup<'tcx>(&mut self) -> io::Result<Box<dyn FileDescriptor>> {
249+
fn dup(&mut self) -> io::Result<Box<dyn FileDescriptor>> {
250250
Ok(Box::new(DummyOutput))
251251
}
252252
}

0 commit comments

Comments
 (0)