librustc_unicode: deny warnings in doctests
This commit is contained in:
parent
a715dd52e7
commit
7ee329ac6e
@ -31,7 +31,7 @@
|
||||
html_root_url = "https://doc.rust-lang.org/nightly/",
|
||||
html_playground_url = "https://play.rust-lang.org/",
|
||||
issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/",
|
||||
test(no_crate_inject))]
|
||||
test(no_crate_inject, attr(allow(unused_variables), deny(warnings))))]
|
||||
#![no_std]
|
||||
|
||||
#![feature(core_char_ext)]
|
||||
|
@ -190,6 +190,7 @@ impl<'a> Iterator for Utf16Items<'a> {
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(unicode, decode_utf16)]
|
||||
/// # #![allow(deprecated)]
|
||||
///
|
||||
/// extern crate rustc_unicode;
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user