Skip to content

Commit f403882

Browse files
Add a Self: Sized bound
1 parent c73ee98 commit f403882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/lint/lint-missing-doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub trait D {
6060
}
6161

6262
/// dox
63-
pub trait E {
63+
pub trait E: Sized {
6464
type AssociatedType; //~ ERROR: missing documentation for an associated type
6565
type AssociatedTypeDef = Self; //~ ERROR: missing documentation for an associated type
6666

0 commit comments

Comments
 (0)