Skip to content

Commit 2095aee

Browse files
committed
Confirm demode of unicode.rs
1 parent ce4e09b commit 2095aee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libstd/unicode.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[forbid(deprecated_mode)];
2+
#[forbid(deprecated_pattern)];
13

24
mod icu {
35
type UBool = u8;
@@ -231,4 +233,4 @@ mod tests {
231233
assert (unicode::icu::is_upper('M'));
232234
assert (!unicode::icu::is_upper('m'));
233235
}
234-
}
236+
}

0 commit comments

Comments
 (0)