]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/collect.rs
Rollup merge of #101904 - Rageking8:fix-101712, r=oli-obk
[rust.git] / compiler / rustc_typeck / src / collect.rs
index 45a5eca708ab5eac832aa107495e199de4ea67e2..afc8a9600ad48d4c0c2e524ea39f10fe861ca41d 100644 (file)
@@ -3154,6 +3154,7 @@ fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: DefId) -> CodegenFnAttrs {
                         E0535,
                         "invalid argument"
                     )
+                    .help("valid inline arguments are `always` and `never`")
                     .emit();
 
                     InlineAttr::None