Skip to content

Commit

Permalink
Rollup merge of #126073 - Zalathar:fulldeps-borrowck, r=jieyouxu
Browse files Browse the repository at this point in the history
Port `tests/run-make-fulldeps/obtain-borrowck` to ui-fulldeps

Thanks to `{{sysroot-base}}` from #126008, this was also pretty straightforward to port over.
  • Loading branch information
workingjubilee authored Jun 6, 2024
2 parents f4016e2 + dc91ad0 commit 30bb51f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 26 deletions.
26 changes: 0 additions & 26 deletions tests/run-make-fulldeps/obtain-borrowck/Makefile

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(dead_code)]

trait X {
fn provided(&self) -> usize {
5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//@ edition: 2021
//@ run-pass
//@ check-run-results
//@ run-flags: --sysroot {{sysroot-base}} --edition=2021 {{src-base}}/auxiliary/obtain-borrowck-input.rs
//@ ignore-stage1 (requires matching sysroot built with in-tree compiler)
// ignore-tidy-linelength

#![feature(rustc_private)]

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

0 comments on commit 30bb51f

Please sign in to comment.