mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
12 lines
372 B
Rust
12 lines
372 B
Rust
//@ run-fail
|
|
//@ check-run-results
|
|
//@ exec-env:RUST_BACKTRACE=0
|
|
//@ normalize-stderr-test ".rs:\d+:\d+" -> ".rs:LL:CC"
|
|
//
|
|
// Regression test for issue #70963
|
|
// The captured stderr from this test reports a location
|
|
// inside `VecDeque::with_capacity`, instead of `<::core::macros::panic macros>`
|
|
fn main() {
|
|
std::collections::VecDeque::<String>::with_capacity(!0);
|
|
}
|