mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 11:53:44 +00:00

I have verified that the test fails if stderr begins to contain output by making sure the test fails when I add eprintln!("some output on stderr"); to the compiler (I added it to `fn build_session()`).
9 lines
168 B
Rust
9 lines
168 B
Rust
// Regression test for https://github.com/rust-lang/rust/issues/43134
|
|
|
|
// check-pass
|
|
// compile-flags: --cap-lints allow
|
|
|
|
type Foo<T: Clone> = Option<T>;
|
|
|
|
fn main() {}
|