Skip to content

Commit 6e6d593

Browse files
authored
Unrolled build for rust-lang#126073
Rollup merge of rust-lang#126073 - Zalathar:fulldeps-borrowck, r=jieyouxu Port `tests/run-make-fulldeps/obtain-borrowck` to ui-fulldeps Thanks to `{{sysroot-base}}` from rust-lang#126008, this was also pretty straightforward to port over.
2 parents 98489f2 + dc91ad0 commit 6e6d593

File tree

4 files changed

+9
-26
lines changed

4 files changed

+9
-26
lines changed

tests/run-make-fulldeps/obtain-borrowck/Makefile

-26
This file was deleted.

tests/run-make-fulldeps/obtain-borrowck/test.rs tests/ui-fulldeps/auxiliary/obtain-borrowck-input.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(dead_code)]
2+
13
trait X {
24
fn provided(&self) -> usize {
35
5

tests/run-make-fulldeps/obtain-borrowck/driver.rs tests/ui-fulldeps/obtain-borrowck.rs

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
//@ edition: 2021
2+
//@ run-pass
3+
//@ check-run-results
4+
//@ run-flags: --sysroot {{sysroot-base}} --edition=2021 {{src-base}}/auxiliary/obtain-borrowck-input.rs
5+
//@ ignore-stage1 (requires matching sysroot built with in-tree compiler)
6+
// ignore-tidy-linelength
7+
18
#![feature(rustc_private)]
29

310
//! This program implements a rustc driver that retrieves MIR bodies with

0 commit comments

Comments
 (0)