collection_tools 0.47.0

General purpose tools to manipulate collections( containers like Vec/HashMap/HashSet ).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Compile-fail tests covering spec cases where compilation must fail.
//!
//! Covered spec cases:
//! - `feature/002_into_constructors` FT-02: type annotation required for into map macros.
//!
//! Each `.rs` file in `tests/compile_fail/` must fail to compile. The companion `.stderr`
//! file records the expected compiler error and is generated automatically on the first run.

#[ cfg( feature = "collection_into_constructors" ) ]
#[ test ]
fn compile_fail()
{
  let t = trybuild ::TestCases ::new();
  t.compile_fail( "tests/compile_fail/*.rs" );
}