File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ if [ -z "$CARGO_PROFILE_DEV_OPT_LEVEL" ]; then
243
243
export CARGO_PROFILE_DEV_OPT_LEVEL=2
244
244
fi
245
245
# Enable rustc-specific lints (ignored without `-Zunstable-options`).
246
- export RUSTFLAGS=" -Zunstable-options -Wrustc::internal $RUSTFLAGS "
246
+ export RUSTFLAGS=" -Zunstable-options -Wrustc::internal -Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros $RUSTFLAGS "
247
247
# We set the rpath so that Miri finds the private rustc libraries it needs.
248
248
export RUSTFLAGS=" -C link-args=-Wl,-rpath,$LIBDIR $RUSTFLAGS "
249
249
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ impl FileDescriptor for Epoll {
36
36
Ok ( self )
37
37
}
38
38
39
- fn dup < ' tcx > ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
39
+ fn dup ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
40
40
Ok ( Box :: new ( self . clone ( ) ) )
41
41
}
42
42
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ impl FileDescriptor for Event {
21
21
"event"
22
22
}
23
23
24
- fn dup < ' tcx > ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
24
+ fn dup ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
25
25
Ok ( Box :: new ( Event { val : self . val } ) )
26
26
}
27
27
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ impl FileDescriptor for SocketPair {
15
15
"socketpair"
16
16
}
17
17
18
- fn dup < ' tcx > ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
18
+ fn dup ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
19
19
Ok ( Box :: new ( SocketPair ) )
20
20
}
21
21
You can’t perform that action at this time.
0 commit comments