We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 080d765 commit a978b84Copy full SHA for a978b84
src/librustdoc/clean/types/tests.rs
@@ -72,7 +72,7 @@ fn should_not_trim() {
72
fn is_same_generic() {
73
use crate::clean::types::{PrimitiveType, Type};
74
use crate::formats::cache::Cache;
75
- let cache = Cache::new(false, false, false);
+ let cache = Cache::new(false, false, false, false);
76
let generic = Type::Generic(rustc_span::symbol::sym::Any);
77
let unit = Type::Primitive(PrimitiveType::Unit);
78
assert!(!generic.is_doc_subtype_of(&unit, &cache));
0 commit comments