about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-11-23 17:05:33 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2023-12-04 15:29:23 +0100
commit7013eccc052228044faa0103ca596ed75ea2a70e (patch)
treeabd433ba53b8a92b786ea04e3422e75a0f8f2e78
parent3c6bae7fa88d700a34b57f43e55749c510c57b72 (diff)
downloadrust-7013eccc052228044faa0103ca596ed75ea2a70e.tar.gz
rust-7013eccc052228044faa0103ca596ed75ea2a70e.zip
Add missing code comment
-rw-r--r--build_system/src/test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_system/src/test.rs b/build_system/src/test.rs
index 16f01a1ba2d..7ab4767e405 100644
--- a/build_system/src/test.rs
+++ b/build_system/src/test.rs
@@ -794,6 +794,7 @@ fn extended_regex_tests(env: &Env, args: &TestArg) -> Result<(), String> {
     // FIXME: create a function "display_if_not_quiet" or something along the line.
     println!("[TEST] rust-lang/regex tests");
     let mut env = env.clone();
+    // newer aho_corasick versions throw a deprecation warning
     env.insert("CG_RUSTFLAGS".to_string(), "--cap-lints warn".to_string());
     run_cargo_command(
         &[