File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 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
243243 export CARGO_PROFILE_DEV_OPT_LEVEL=2
244244fi
245245# 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 "
247247# We set the rpath so that Miri finds the private rustc libraries it needs.
248248export RUSTFLAGS=" -C link-args=-Wl,-rpath,$LIBDIR $RUSTFLAGS "
249249
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ impl FileDescriptor for Epoll {
3636 Ok ( self )
3737 }
3838
39- fn dup < ' tcx > ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
39+ fn dup ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
4040 Ok ( Box :: new ( self . clone ( ) ) )
4141 }
4242
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ impl FileDescriptor for Event {
2121 "event"
2222 }
2323
24- fn dup < ' tcx > ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
24+ fn dup ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
2525 Ok ( Box :: new ( Event { val : self . val } ) )
2626 }
2727
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ impl FileDescriptor for SocketPair {
1515 "socketpair"
1616 }
1717
18- fn dup < ' tcx > ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
18+ fn dup ( & mut self ) -> io:: Result < Box < dyn FileDescriptor > > {
1919 Ok ( Box :: new ( SocketPair ) )
2020 }
2121
You can’t perform that action at this time.
0 commit comments