Skip to content

Commit

Permalink
Rollup merge of rust-lang#126073 - Zalathar:fulldeps-borrowck, r=jiey…
Browse files Browse the repository at this point in the history
…ouxu

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.
  • Loading branch information
GuillaumeGomez committed Jun 6, 2024
2 parents bb2d768 + dc91ad0 commit c824159
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 c824159

Please sign in to comment.