Skip to content

Commit f611284

Browse files
committed
#42 Suppress intellij errors by comment annotations
1 parent d1009f6 commit f611284

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ fn where_predicate_bounded_type(wp: &syn::WherePredicate) -> Option<&syn::Type>
295295
}
296296
}
297297

298+
//noinspection RsTypeCheck
298299
fn generics_clean_up<'a>(original: &Generics, inputs: impl Iterator<Item=&'a FnArg>, output: &ReturnType) -> syn::Generics {
299300
use syn::visit::Visit;
300301
#[derive(Default, Debug)]
@@ -1119,6 +1120,7 @@ mod render {
11191120
}
11201121

11211122
impl<'ast> Visit<'ast> for TestFunctions {
1123+
//noinspection RsTypeCheck
11221124
fn visit_item_fn(&mut self, item_fn: &'ast ItemFn) {
11231125
if Self::is_test_fn(item_fn) {
11241126
self.0.push(item_fn.clone())

0 commit comments

Comments
 (0)