File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,12 @@ matrix:
5151 # We don't want to run these always because they go towards
5252 # the build limit within the Travis rust-lang account.
5353 # The jobs are approximately sorted by execution time
54- # disabled cargo and rls integration test due to https://github.com/rust-lang/rust-clippy/issues/4121
55- # - env: INTEGRATION=rust-lang/cargo
56- # if: repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
54+ - env : INTEGRATION=rust-lang/cargo
55+ if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
5756 - env : INTEGRATION=rust-lang-nursery/chalk
5857 if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
59- # - env: INTEGRATION=rust-lang/rls
60- # if: repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
58+ - env : INTEGRATION=rust-lang/rls
59+ if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
6160 - env : INTEGRATION=Geal/nom
6261 if : repo =~ /^rust-lang\/rust-clippy$/ AND branch IN (auto, try)
6362 - env : INTEGRATION=rust-lang/rustfmt
Original file line number Diff line number Diff line change 1+ use std:: mem;
2+
3+ pub struct Foo < A , B > ( A , B ) ;
4+
5+ impl < A , B > Foo < A , B > {
6+ const HOST_SIZE : usize = mem:: size_of :: < B > ( ) ;
7+
8+ pub fn crash ( ) -> bool {
9+ Self :: HOST_SIZE == 0
10+ }
11+ }
12+
13+ fn main ( ) { }
You can’t perform that action at this time.
0 commit comments