@@ -673,14 +673,17 @@ pub fn line_directive<'line>(
673673/// names. This is **not** an exhaustive list of all possible directives. Instead, this is a
674674/// best-effort approximation for diagnostics.
675675const DIAGNOSTICS_DIRECTIVE_NAMES : & [ & str ] = & [
676+ "assembly-output" ,
676677 "aux-build" ,
677678 "aux-crate" ,
679+ "build-aux-docs" ,
678680 "build-fail" ,
679681 "build-pass" ,
680682 "check-fail" ,
681683 "check-pass" ,
682684 "check-run-results" ,
683685 "check-stdout" ,
686+ "check-test-line-numbers-match" ,
684687 "compile-flags" ,
685688 "dont-check-compiler-stderr" ,
686689 "dont-check-compiler-stdout" ,
@@ -691,12 +694,16 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
691694 "failure-status" ,
692695 "forbid-output" ,
693696 "force-host" ,
697+ "ignore-16bit" ,
694698 "ignore-32bit" ,
695699 "ignore-64bit" ,
696700 "ignore-aarch64" ,
697701 "ignore-aarch64-unknown-linux-gnu" ,
698702 "ignore-android" ,
699703 "ignore-arm" ,
704+ "ignore-avr" ,
705+ "ignore-beta" ,
706+ "ignore-cdb" ,
700707 "ignore-compare-mode-next-solver" ,
701708 "ignore-compare-mode-polonius" ,
702709 "ignore-cross-compile" ,
@@ -705,13 +712,21 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
705712 "ignore-endian-big" ,
706713 "ignore-freebsd" ,
707714 "ignore-fuchsia" ,
715+ "ignore-gdb" ,
716+ "ignore-gdb-version" ,
708717 "ignore-gnu" ,
709718 "ignore-haiku" ,
710719 "ignore-horizon" ,
711720 "ignore-i686-pc-windows-msvc" ,
712721 "ignore-ios" ,
722+ "ignore-linux" ,
723+ "ignore-lldb" ,
713724 "ignore-llvm-version" ,
725+ "ignore-loongarch64" ,
714726 "ignore-macos" ,
727+ "ignore-mode-coverage-map" ,
728+ "ignore-mode-coverage-run" ,
729+ "ignore-msp430" ,
715730 "ignore-msvc" ,
716731 "ignore-musl" ,
717732 "ignore-netbsd" ,
@@ -720,8 +735,13 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
720735 "ignore-nvptx64" ,
721736 "ignore-openbsd" ,
722737 "ignore-pass" ,
738+ "ignore-remote" ,
739+ "ignore-riscv64" ,
740+ "ignore-s390x" ,
723741 "ignore-sgx" ,
724742 "ignore-spirv" ,
743+ "ignore-stable" ,
744+ "ignore-stage1" ,
725745 "ignore-test" ,
726746 "ignore-thumbv8m.base-none-eabi" ,
727747 "ignore-thumbv8m.main-none-eabi" ,
@@ -731,9 +751,15 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
731751 "ignore-wasm32" ,
732752 "ignore-wasm32-bare" ,
733753 "ignore-windows" ,
754+ "ignore-windows-gnu" ,
734755 "ignore-x86" ,
756+ "ignore-x86_64-apple-darwin" ,
735757 "incremental" ,
736758 "known-bug" ,
759+ "llvm-cov-flags" ,
760+ "min-cdb-version" ,
761+ "min-gdb-version" ,
762+ "min-lldb-version" ,
737763 "min-llvm-version" ,
738764 "needs-asm-support" ,
739765 "needs-dlltool" ,
@@ -742,11 +768,15 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
742768 "needs-profiler-support" ,
743769 "needs-relocation-model-pic" ,
744770 "needs-run-enabled" ,
771+ "needs-rust-lldb" ,
745772 "needs-sanitizer-address" ,
746773 "needs-sanitizer-cfi" ,
747774 "needs-sanitizer-hwaddress" ,
748775 "needs-sanitizer-leak" ,
749776 "needs-sanitizer-memory" ,
777+ "needs-sanitizer-memtag" ,
778+ "needs-sanitizer-safestack" ,
779+ "needs-sanitizer-shadow-call-stack" ,
750780 "needs-sanitizer-support" ,
751781 "needs-sanitizer-thread" ,
752782 "needs-unwind" ,
@@ -756,23 +786,42 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
756786 "normalize-stderr-64bit" ,
757787 "normalize-stderr-test" ,
758788 "normalize-stdout-test" ,
789+ "only-16bit" ,
759790 "only-32bit" ,
760791 "only-64bit" ,
761792 "only-aarch64" ,
793+ "only-arm" ,
794+ "only-avr" ,
795+ "only-bpf" ,
796+ "only-cdb" ,
762797 "only-gnu" ,
763798 "only-i686-pc-windows-msvc" ,
764799 "only-linux" ,
800+ "only-loongarch64" ,
801+ "only-loongarch64-unknown-linux-gnu" ,
765802 "only-macos" ,
803+ "only-mips" ,
804+ "only-mips64" ,
805+ "only-msp430" ,
766806 "only-msvc" ,
767807 "only-nightly" ,
808+ "only-nvptx64" ,
809+ "only-riscv64" ,
810+ "only-sparc" ,
811+ "only-sparc64" ,
812+ "only-thumb" ,
768813 "only-wasm32" ,
814+ "only-wasm32-bare" ,
769815 "only-windows" ,
770816 "only-x86" ,
771817 "only-x86_64" ,
818+ "only-x86_64-fortanix-unknown-sgx" ,
772819 "only-x86_64-pc-windows-msvc" ,
773820 "only-x86_64-unknown-linux-gnu" ,
774821 "pp-exact" ,
822+ "pretty-compare-only" ,
775823 "pretty-expanded" ,
824+ "pretty-mode" ,
776825 "regex-error-pattern" ,
777826 "remap-src-base" ,
778827 "revisions" ,
@@ -783,7 +832,10 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
783832 "rustc-env" ,
784833 "rustfix-only-machine-applicable" ,
785834 "should-fail" ,
835+ "should-ice" ,
786836 "stderr-per-bitwidth" ,
837+ "unit-test" ,
838+ "unset-exec-env" ,
787839 "unset-rustc-env" ,
788840] ;
789841
0 commit comments