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 ae24efd commit 61c52f9Copy full SHA for 61c52f9
crates/matrix-sdk/src/room/member.rs
@@ -131,6 +131,10 @@ impl RoomMemberRole {
131
Self::User
132
}
133
134
+ // This branch is only necessary because the enum is non-exhaustive.
135
+ // TODO: Use the `non_exhaustive_omitted_patterns` lint when it becomes stable to be
136
+ // warned when a variant is added.
137
+ // Tracking issue: https://github.com/rust-lang/rust/issues/89554
138
_ => unimplemented!(),
139
140
0 commit comments