Fix warning when compilin libcore on 16bit targets.

Fixes #49617
This commit is contained in:
Vadzim Dambrouski 2018-04-03 15:33:18 +03:00
parent 5ee891cfea
commit f5c42655b5

View file

@ -488,6 +488,7 @@ macro_rules! try_from_unbounded {
}
// unsigned to signed (only positive bound)
#[cfg(any(target_pointer_width = "32", target_pointer_width = "64"))]
macro_rules! try_from_upper_bounded {
($($target:ty),*) => {$(
impl PrivateTryFromUsize for $target {