diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-05-19 16:52:19 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-05-19 18:27:53 -0700 |
| commit | def6b99b4a8e1362c9271e39de68e63cacac11ec (patch) | |
| tree | 49eeb2b90905e19a2bee0fa40d7f41179d91d34a /tests/ui/rustc-env | |
| parent | eb1a5c9bb3df2ce5f003d45f835da0d61d8742cd (diff) | |
| download | rust-def6b99b4a8e1362c9271e39de68e63cacac11ec.tar.gz rust-def6b99b4a8e1362c9271e39de68e63cacac11ec.zip | |
move rustc-rust-log test into ui/rustc-env
Diffstat (limited to 'tests/ui/rustc-env')
| -rw-r--r-- | tests/ui/rustc-env/auxiliary/rust-log-aux.rs | 1 | ||||
| -rw-r--r-- | tests/ui/rustc-env/rust-log.rs | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/rustc-env/auxiliary/rust-log-aux.rs b/tests/ui/rustc-env/auxiliary/rust-log-aux.rs new file mode 100644 index 00000000000..8080428d563 --- /dev/null +++ b/tests/ui/rustc-env/auxiliary/rust-log-aux.rs @@ -0,0 +1 @@ +//@ rustc-env:RUSTC_LOG=debug diff --git a/tests/ui/rustc-env/rust-log.rs b/tests/ui/rustc-env/rust-log.rs new file mode 100644 index 00000000000..10040754593 --- /dev/null +++ b/tests/ui/rustc-env/rust-log.rs @@ -0,0 +1,11 @@ +//@ run-pass +// This test is just checking that we won't ICE if logging is turned +// on; don't bother trying to compare that (copious) output. +// +//@ dont-check-compiler-stdout +//@ dont-check-compiler-stderr +//@ compile-flags: --error-format human +//@ aux-build: rust-log-aux.rs +//@ rustc-env:RUSTC_LOG=debug + +fn main() {} |
