Skip to content

Commit

Permalink
Rollup merge of rust-lang#122448 - high-cloud:move-hir-tree, r=oli-obk
Browse files Browse the repository at this point in the history
Port hir-tree run-make test to ui test

As part of rust-lang#121876

cc `@jieyouxu`
  • Loading branch information
matthiaskrgr authored Apr 4, 2024
2 parents d5a657c + 2575b8e commit 0b54db7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ run-make/foreign-exceptions/Makefile
run-make/foreign-rust-exceptions/Makefile
run-make/fpic/Makefile
run-make/glibc-staticlib-args/Makefile
run-make/hir-tree/Makefile
run-make/inaccessible-temp-dir/Makefile
run-make/include_bytes_deps/Makefile
run-make/incr-add-rust-src-component/Makefile
Expand Down
8 changes: 0 additions & 8 deletions tests/run-make/hir-tree/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions tests/run-make/hir-tree/input.rs

This file was deleted.

10 changes: 10 additions & 0 deletions tests/ui/unpretty/hir-tree.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//@ build-pass
//@ compile-flags: -o - -Zunpretty=hir-tree
//@ check-stdout
//@ dont-check-compiler-stdout
//@ dont-check-compiler-stderr
//@ regex-error-pattern: Hello, Rustaceans!

fn main() {
println!("Hello, Rustaceans!");
}

0 comments on commit 0b54db7

Please sign in to comment.