Crate proc_macro_api_tests

Source
Expand description

Tests for proc-macro-api.

§Run

Use cargo test to run the tests.

§Test-option features

test_* features are test-option features. Test-option features are used for enabling optional tests. In order to enable an optional test, enable the corresponding test-option features.

  • test_normal is provided for exhaustiveness, and the tests in it are not optional.
  • test_comp_err_* will cause a compiling error. It is used for testing the error detecting and the error messages, manually.
  • test_err_* will be compiled successfully, but specific doc-tests in it will always fail to be compiled. It is used for testing the error detecting and the error messages, manually.

See Cargo.toml for the list of the test-option features.

§Combination of test-options

Compatible test-option features can be enabled together. Incompatible test-option features will cause a compiling error.

A test_comp_err_* feature should not be enabled together with other test-option features.

§Examples

cargo test --package proc-macro-api-tests --features test_normal

§SemVer compatibility

The public APIs of the library crate are the test-option features. The pub items from the library crate should be treated as a private part of the crate. The non-test-option features should be treated as a private part of the crate.

Macros§

norm_t_alias_fn_0
norm_t_alias_fn_1
norm_t_cc_0
norm_t_cc_1
norm_t_cc_2
norm_t_cc_3
norm_t_empty_rest_0
b
norm_t_full_seg_0
a b
norm_t_full_seg_1
a b
norm_t_full_seg_2
a b
norm_t_no_as_0
norm_t_no_as_1
norm_t_no_as_2
norm_t_no_as_3
norm_t_no_as_4
norm_t_no_as_5
norm_t_no_as_6
norm_t_no_as_7
norm_t_no_trailing_comma_0
norm_t_one_prv_0
norm_t_one_rest_0
b
norm_t_one_rest_1
b
norm_t_one_rest_2
b
norm_t_one_rest_out_0
norm_t_seg_matcher_0
norm_t_seg_matcher_1
norm_t_seg_matcher_2_0
norm_t_seg_matcher_2_1
norm_t_seg_matcher_3_0
norm_t_seg_matcher_3_1
norm_t_seg_matcher_4_0
norm_t_seg_matcher_4_1
norm_t_seg_matcher_5_0
norm_t_seg_matcher_5_1
norm_t_seg_matcher_6_0
norm_t_seg_matcher_6_1
norm_t_seg_matcher_7_0
norm_t_seg_matcher_7_1
norm_t_seg_matcher_8_0
norm_t_seg_matcher_8_1
norm_t_seg_matcher_9_0
norm_t_seg_matcher_9_1
norm_t_seg_matcher_10_0
norm_t_seg_matcher_10_1
norm_t_seg_matcher_11_0
norm_t_seg_matcher_11_1
norm_t_seg_matcher_12_0
norm_t_seg_matcher_12_1
norm_t_seg_matcher_13_0
norm_t_seg_matcher_13_1
norm_t_seg_matcher_14_0
norm_t_seg_matcher_14_1
norm_t_seg_matcher_15_0
norm_t_seg_matcher_15_1

Attribute Macros§

norm_t_alias_at_0
norm_t_alias_at_1

Derive Macros§

norm_t_AliasDr0
norm_t_AliasDr1