We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 912d22e commit 4d426bbCopy full SHA for 4d426bb
src/librustc_target/abi/mod.rs
@@ -583,7 +583,7 @@ pub enum Primitive {
583
Pointer
584
}
585
586
-impl<'a, 'tcx> Primitive {
+impl Primitive {
587
pub fn size<C: HasDataLayout>(self, cx: &C) -> Size {
588
let dl = cx.data_layout();
589
src/librustc_target/lib.rs
@@ -17,6 +17,7 @@
17
18
#![deny(rust_2018_idioms)]
19
#![deny(internal)]
20
+#![deny(unused_lifetimes)]
21
22
#[macro_use] extern crate log;
23
0 commit comments