Skip to content

Commit

Permalink
Rollup merge of rust-lang#60648 - petrochenkov:shorten2, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Skip codegen for one UI test with long file path

The path to this test is so long that object files produced by it hit some path length limit on Windows and linker cannot find them.
The workaround here is to skip codegen and avoid producing object files, this test doesn't need them anyway.
  • Loading branch information
Centril authored May 9, 2019
2 parents 903fc4b + d0ba8fe commit e7b4023
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@

// compile-flags:-Zborrowck=mir -Zverbose
// compile-pass

#![allow(warnings)]
// skip-codegen

fn foo<'a, 'b>(x: &'a &'b u32) -> &'a u32 {
&**x
Expand Down

0 comments on commit e7b4023

Please sign in to comment.