@@ -673,14 +673,17 @@ pub fn line_directive<'line>(
673
673
/// names. This is **not** an exhaustive list of all possible directives. Instead, this is a
674
674
/// best-effort approximation for diagnostics.
675
675
const DIAGNOSTICS_DIRECTIVE_NAMES : & [ & str ] = & [
676
+ "assembly-output" ,
676
677
"aux-build" ,
677
678
"aux-crate" ,
679
+ "build-aux-docs" ,
678
680
"build-fail" ,
679
681
"build-pass" ,
680
682
"check-fail" ,
681
683
"check-pass" ,
682
684
"check-run-results" ,
683
685
"check-stdout" ,
686
+ "check-test-line-numbers-match" ,
684
687
"compile-flags" ,
685
688
"dont-check-compiler-stderr" ,
686
689
"dont-check-compiler-stdout" ,
@@ -691,12 +694,16 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
691
694
"failure-status" ,
692
695
"forbid-output" ,
693
696
"force-host" ,
697
+ "ignore-16bit" ,
694
698
"ignore-32bit" ,
695
699
"ignore-64bit" ,
696
700
"ignore-aarch64" ,
697
701
"ignore-aarch64-unknown-linux-gnu" ,
698
702
"ignore-android" ,
699
703
"ignore-arm" ,
704
+ "ignore-avr" ,
705
+ "ignore-beta" ,
706
+ "ignore-cdb" ,
700
707
"ignore-compare-mode-next-solver" ,
701
708
"ignore-compare-mode-polonius" ,
702
709
"ignore-cross-compile" ,
@@ -705,13 +712,21 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
705
712
"ignore-endian-big" ,
706
713
"ignore-freebsd" ,
707
714
"ignore-fuchsia" ,
715
+ "ignore-gdb" ,
716
+ "ignore-gdb-version" ,
708
717
"ignore-gnu" ,
709
718
"ignore-haiku" ,
710
719
"ignore-horizon" ,
711
720
"ignore-i686-pc-windows-msvc" ,
712
721
"ignore-ios" ,
722
+ "ignore-linux" ,
723
+ "ignore-lldb" ,
713
724
"ignore-llvm-version" ,
725
+ "ignore-loongarch64" ,
714
726
"ignore-macos" ,
727
+ "ignore-mode-coverage-map" ,
728
+ "ignore-mode-coverage-run" ,
729
+ "ignore-msp430" ,
715
730
"ignore-msvc" ,
716
731
"ignore-musl" ,
717
732
"ignore-netbsd" ,
@@ -720,8 +735,13 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
720
735
"ignore-nvptx64" ,
721
736
"ignore-openbsd" ,
722
737
"ignore-pass" ,
738
+ "ignore-remote" ,
739
+ "ignore-riscv64" ,
740
+ "ignore-s390x" ,
723
741
"ignore-sgx" ,
724
742
"ignore-spirv" ,
743
+ "ignore-stable" ,
744
+ "ignore-stage1" ,
725
745
"ignore-test" ,
726
746
"ignore-thumbv8m.base-none-eabi" ,
727
747
"ignore-thumbv8m.main-none-eabi" ,
@@ -731,9 +751,15 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
731
751
"ignore-wasm32" ,
732
752
"ignore-wasm32-bare" ,
733
753
"ignore-windows" ,
754
+ "ignore-windows-gnu" ,
734
755
"ignore-x86" ,
756
+ "ignore-x86_64-apple-darwin" ,
735
757
"incremental" ,
736
758
"known-bug" ,
759
+ "llvm-cov-flags" ,
760
+ "min-cdb-version" ,
761
+ "min-gdb-version" ,
762
+ "min-lldb-version" ,
737
763
"min-llvm-version" ,
738
764
"needs-asm-support" ,
739
765
"needs-dlltool" ,
@@ -742,11 +768,15 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
742
768
"needs-profiler-support" ,
743
769
"needs-relocation-model-pic" ,
744
770
"needs-run-enabled" ,
771
+ "needs-rust-lldb" ,
745
772
"needs-sanitizer-address" ,
746
773
"needs-sanitizer-cfi" ,
747
774
"needs-sanitizer-hwaddress" ,
748
775
"needs-sanitizer-leak" ,
749
776
"needs-sanitizer-memory" ,
777
+ "needs-sanitizer-memtag" ,
778
+ "needs-sanitizer-safestack" ,
779
+ "needs-sanitizer-shadow-call-stack" ,
750
780
"needs-sanitizer-support" ,
751
781
"needs-sanitizer-thread" ,
752
782
"needs-unwind" ,
@@ -756,23 +786,42 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
756
786
"normalize-stderr-64bit" ,
757
787
"normalize-stderr-test" ,
758
788
"normalize-stdout-test" ,
789
+ "only-16bit" ,
759
790
"only-32bit" ,
760
791
"only-64bit" ,
761
792
"only-aarch64" ,
793
+ "only-arm" ,
794
+ "only-avr" ,
795
+ "only-bpf" ,
796
+ "only-cdb" ,
762
797
"only-gnu" ,
763
798
"only-i686-pc-windows-msvc" ,
764
799
"only-linux" ,
800
+ "only-loongarch64" ,
801
+ "only-loongarch64-unknown-linux-gnu" ,
765
802
"only-macos" ,
803
+ "only-mips" ,
804
+ "only-mips64" ,
805
+ "only-msp430" ,
766
806
"only-msvc" ,
767
807
"only-nightly" ,
808
+ "only-nvptx64" ,
809
+ "only-riscv64" ,
810
+ "only-sparc" ,
811
+ "only-sparc64" ,
812
+ "only-thumb" ,
768
813
"only-wasm32" ,
814
+ "only-wasm32-bare" ,
769
815
"only-windows" ,
770
816
"only-x86" ,
771
817
"only-x86_64" ,
818
+ "only-x86_64-fortanix-unknown-sgx" ,
772
819
"only-x86_64-pc-windows-msvc" ,
773
820
"only-x86_64-unknown-linux-gnu" ,
774
821
"pp-exact" ,
822
+ "pretty-compare-only" ,
775
823
"pretty-expanded" ,
824
+ "pretty-mode" ,
776
825
"regex-error-pattern" ,
777
826
"remap-src-base" ,
778
827
"revisions" ,
@@ -783,7 +832,10 @@ const DIAGNOSTICS_DIRECTIVE_NAMES: &[&str] = &[
783
832
"rustc-env" ,
784
833
"rustfix-only-machine-applicable" ,
785
834
"should-fail" ,
835
+ "should-ice" ,
786
836
"stderr-per-bitwidth" ,
837
+ "unit-test" ,
838
+ "unset-exec-env" ,
787
839
"unset-rustc-env" ,
788
840
] ;
789
841
0 commit comments