@@ -503,7 +503,6 @@ mod no_std {
503503 //~^ NOTE this attribute does not have an `!`, which means it is applied to this module
504504 mod inner { #![ no_std] }
505505//~^ WARN the `#![no_std]` attribute can only be used at the crate root
506- //~| HELP the crate root is at
507506
508507 #[ no_std] fn f ( ) { }
509508 //~^ WARN crate-level attribute should be an inner attribute
@@ -765,8 +764,7 @@ mod windows_subsystem {
765764 //~^ NOTE this attribute does not have an `!`, which means it is applied to this module
766765 mod inner { #![ windows_subsystem="windows" ] }
767766 //~^ WARN the `#![windows_subsystem]` attribute can only be used at the crate root
768- //~| HELP the crate root is at
769-
767+
770768 #[ windows_subsystem = "windows" ] fn f ( ) { }
771769 //~^ WARN crate-level attribute should be an inner attribute
772770 //~| NOTE this attribute does not have an `!`, which means it is applied to this function
@@ -792,7 +790,6 @@ mod crate_name {
792790//~^ NOTE this attribute does not have an `!`, which means it is applied to this module
793791 mod inner { #![ crate_name="0900" ] }
794792//~^ WARN the `#![crate_name]` attribute can only be used at the crate root
795- //~| HELP the crate root is at
796793
797794 #[ crate_name = "0900" ] fn f ( ) { }
798795 //~^ WARN crate-level attribute should be an inner attribute
@@ -817,7 +814,6 @@ mod crate_type {
817814//~^ NOTE this attribute does not have an `!`, which means it is applied to this module
818815 mod inner { #![ crate_type="0800" ] }
819816//~^ WARN the `#![crate_type]` attribute can only be used at the crate root
820- //~| HELP the crate root is at
821817
822818 #[ crate_type = "0800" ] fn f ( ) { }
823819 //~^ WARN crate-level attribute should be an inner attribute
@@ -842,8 +838,7 @@ mod feature {
842838//~^ NOTE this attribute does not have an `!`, which means it is applied to this module
843839 mod inner { #![ feature( x0600) ] }
844840 //~^ WARN the `#![feature]` attribute can only be used at the crate root
845- //~| HELP the crate root is at
846-
841+
847842 #[ feature( x0600) ] fn f ( ) { }
848843 //~^ WARN crate-level attribute should be an inner attribute
849844 //~| NOTE this attribute does not have an `!`, which means it is applied to this function
@@ -868,8 +863,7 @@ mod no_main_1 {
868863 //~^ NOTE: this attribute does not have an `!`, which means it is applied to this module
869864 mod inner { #![ no_main] }
870865 //~^ WARN the `#![no_main]` attribute can only be used at the crate root
871- //~| HELP the crate root is at
872-
866+
873867 #[ no_main] fn f ( ) { }
874868 //~^ WARN crate-level attribute should be an inner attribute
875869 //~| NOTE this attribute does not have an `!`, which means it is applied to this function
@@ -893,8 +887,7 @@ mod no_builtins {
893887 //~^ NOTE: this attribute does not have an `!`, which means it is applied to this module
894888 mod inner { #![ no_builtins] }
895889 //~^ WARN the `#![no_builtins]` attribute can only be used at the crate root
896- //~| HELP the crate root is at
897-
890+
898891 #[ no_builtins] fn f ( ) { }
899892 //~^ WARN crate-level attribute should be an inner attribute
900893 //~| NOTE this attribute does not have an `!`, which means it is applied to this function
@@ -918,7 +911,6 @@ mod recursion_limit {
918911 //~^ NOTE this attribute does not have an `!`, which means it is applied to this module
919912 mod inner { #![ recursion_limit="0200" ] }
920913//~^ WARN the `#![recursion_limit]` attribute can only be used at the crate root
921- //~| HELP the crate root is at
922914
923915 #[ recursion_limit="0200" ] fn f ( ) { }
924916 //~^ WARN crate-level attribute should be an inner attribute
@@ -943,7 +935,6 @@ mod type_length_limit {
943935 //~^ NOTE this attribute does not have an `!`, which means it is applied to this module
944936 mod inner { #![ type_length_limit="0100" ] }
945937//~^ WARN the `#![type_length_limit]` attribute can only be used at the crate root
946- //~| HELP the crate root is at
947938
948939 #[ type_length_limit="0100" ] fn f ( ) { }
949940 //~^ WARN crate-level attribute should be an inner attribute
0 commit comments