Skip to content

Commit 94c7913

Browse files
committed
move hir-tree test from run-make to ui test
1 parent 6bb6b81 commit 94c7913

File tree

6 files changed

+501
-12
lines changed

6 files changed

+501
-12
lines changed

src/tools/tidy/src/allowed_run_make_makefiles.txt

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ run-make/foreign-exceptions/Makefile
8686
run-make/foreign-rust-exceptions/Makefile
8787
run-make/fpic/Makefile
8888
run-make/glibc-staticlib-args/Makefile
89-
run-make/hir-tree/Makefile
9089
run-make/inaccessible-temp-dir/Makefile
9190
run-make/include_bytes_deps/Makefile
9291
run-make/incr-add-rust-src-component/Makefile

tests/run-make/hir-tree/Makefile

-8
This file was deleted.

tests/run-make/hir-tree/input.rs

-3
This file was deleted.

tests/ui/unpretty/hir-tree.rs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//@ build-pass
2+
//@ compile-flags: -o - -Zunpretty=hir-tree
3+
//@ check-stdout
4+
//@ regex-error-pattern: Hello, Rustaceans!
5+
6+
fn main() {
7+
println!("Hello, Rustaceans!");
8+
}

tests/ui/unpretty/hir-tree.stderr

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
warning: ignoring --out-dir flag due to -o flag
2+
3+
warning: 1 warning emitted
4+

0 commit comments

Comments
 (0)