Skip to content

Commit

Permalink
move hir-tree test from run-make to ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
high-cloud committed Apr 4, 2024
1 parent 6bb6b81 commit 2575b8e
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 2575b8e

Please sign in to comment.