• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #[cfg(debug_assertions)]
2 build_alert::yellow! {"
3 NOTE:  use --release
4   Syn's test suite has some tests that run on every source file
5   and test case in the rust-lang/rust repo, which can be pretty
6   slow in debug mode. Consider running cargo test with `--release`
7   to speed things up.
8 "}
9 
10 #[cfg(not(feature = "all-features"))]
11 build_alert::red! {"
12 ERROR:  use --all-features
13   Syn's test suite normally only works with all-features enabled.
14   Run again with `--all-features`, or run with `--features test`
15   to bypass this check.
16 "}
17