mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
38e0d58d7d
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() {}
|