mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +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()`).
8 lines
168 B
Rust
8 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() {}
|