@@ -681,6 +681,7 @@ pub fn line_directive<'line>(
681681/// This is generated by collecting directives from ui tests and then extracting their directive
682682/// names. This is **not** an exhaustive list of all possible directives. Instead, this is a
683683/// best-effort approximation for diagnostics.
684+ // tidy-alphabetical-start
684685const KNOWN_DIRECTIVE_NAMES : & [ & str ] = & [
685686 "assembly-output" ,
686687 "aux-build" ,
@@ -694,6 +695,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
694695 "check-stdout" ,
695696 "check-test-line-numbers-match" ,
696697 "compile-flags" ,
698+ "count" ,
697699 "dont-check-compiler-stderr" ,
698700 "dont-check-compiler-stdout" ,
699701 "dont-check-failure-status" ,
@@ -717,6 +719,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
717719 "ignore-compare-mode-polonius" ,
718720 "ignore-cross-compile" ,
719721 "ignore-debug" ,
722+ "ignore-eabi" ,
720723 "ignore-emscripten" ,
721724 "ignore-endian-big" ,
722725 "ignore-freebsd" ,
@@ -732,14 +735,30 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
732735 "ignore-lldb" ,
733736 "ignore-llvm-version" ,
734737 "ignore-loongarch64" ,
738+ "ignore-macabi" ,
735739 "ignore-macos" ,
740+ "ignore-mode-assembly" ,
741+ "ignore-mode-codegen" ,
742+ "ignore-mode-codegen-units" ,
736743 "ignore-mode-coverage-map" ,
737744 "ignore-mode-coverage-run" ,
745+ "ignore-mode-debuginfo" ,
746+ "ignore-mode-incremental" ,
747+ "ignore-mode-js-doc-test" ,
748+ "ignore-mode-mir-opt" ,
749+ "ignore-mode-run-make" ,
750+ "ignore-mode-run-pass-valgrind" ,
751+ "ignore-mode-rustdoc" ,
752+ "ignore-mode-rustdoc-json" ,
753+ "ignore-mode-pretty" ,
754+ "ignore-mode-ui" ,
755+ "ignore-mode-ui-fulldeps" ,
738756 "ignore-msp430" ,
739757 "ignore-msvc" ,
740758 "ignore-musl" ,
741759 "ignore-netbsd" ,
742760 "ignore-nightly" ,
761+ "ignore-none" ,
743762 "ignore-nto" ,
744763 "ignore-nvptx64" ,
745764 "ignore-openbsd" ,
@@ -751,28 +770,39 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
751770 "ignore-spirv" ,
752771 "ignore-stable" ,
753772 "ignore-stage1" ,
773+ "ignore-stage2" ,
754774 "ignore-test" ,
775+ "ignore-thumb" ,
755776 "ignore-thumbv8m.base-none-eabi" ,
756777 "ignore-thumbv8m.main-none-eabi" ,
778+ "ignore-unix" ,
779+ "ignore-unknown" ,
757780 "ignore-uwp" ,
758781 "ignore-vxworks" ,
782+ "ignore-wasi" ,
759783 "ignore-wasm" ,
760784 "ignore-wasm32" ,
761785 "ignore-wasm32-bare" ,
786+ "ignore-wasm64" ,
762787 "ignore-windows" ,
763788 "ignore-windows-gnu" ,
789+ "ignore-x32" ,
764790 "ignore-x86" ,
791+ "ignore-x86_64" ,
765792 "ignore-x86_64-apple-darwin" ,
793+ "ignore-x86_64-unknown-linux-gnu" ,
766794 "incremental" ,
767795 "known-bug" ,
768796 "llvm-cov-flags" ,
769797 "min-cdb-version" ,
770798 "min-gdb-version" ,
771799 "min-lldb-version" ,
772800 "min-llvm-version" ,
801+ "min-system-llvm-version" ,
773802 "needs-asm-support" ,
774803 "needs-dlltool" ,
775804 "needs-dynamic-linking" ,
805+ "needs-git-hash" ,
776806 "needs-llvm-components" ,
777807 "needs-profiler-support" ,
778808 "needs-relocation-model-pic" ,
@@ -802,6 +832,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
802832 "only-aarch64" ,
803833 "only-arm" ,
804834 "only-avr" ,
835+ "only-beta" ,
805836 "only-bpf" ,
806837 "only-cdb" ,
807838 "only-gnu" ,
@@ -819,13 +850,15 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
819850 "only-riscv64" ,
820851 "only-sparc" ,
821852 "only-sparc64" ,
853+ "only-stable" ,
822854 "only-thumb" ,
823855 "only-wasm32" ,
824856 "only-wasm32-bare" ,
825857 "only-windows" ,
826858 "only-x86" ,
827859 "only-x86_64" ,
828860 "only-x86_64-fortanix-unknown-sgx" ,
861+ "only-x86_64-pc-windows-gnu" ,
829862 "only-x86_64-pc-windows-msvc" ,
830863 "only-x86_64-unknown-linux-gnu" ,
831864 "pp-exact" ,
@@ -848,6 +881,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
848881 "unset-exec-env" ,
849882 "unset-rustc-env" ,
850883] ;
884+ // tidy-alphabetical-end
851885
852886/// The broken-down contents of a line containing a test header directive,
853887/// which [`iter_header`] passes to its callback function.
0 commit comments