]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_macros/src/query.rs
Rollup merge of #106383 - Manishearth:ast-docs, r=compiler-errors
[rust.git] / compiler / rustc_macros / src / query.rs
index 4047969724aa93bcca3ea9e9a9a54f45f2b26e9d..789d83a0dd00d496f39eeee157d924d6f3cfd31b 100644 (file)
@@ -364,10 +364,6 @@ macro_rules! passthrough {
                 modifiers.eval_always.is_none(),
                 "Query {name} cannot be both `feedable` and `eval_always`."
             );
-            assert!(
-                modifiers.no_hash.is_none(),
-                "Query {name} cannot be both `feedable` and `no_hash`."
-            );
             feedable_queries.extend(quote! {
                 #(#doc_comments)*
                 [#attribute_stream] fn #name(#arg) #result,