Rollup merge of #60648 - petrochenkov:shorten2, r=Dylan-DPC

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.
This commit is contained in:
Mazdak Farrokhzad 2019-05-09 23:56:14 +02:00 committed by GitHub
commit e7b4023f37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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