Rollup merge of #49618 - pftbest:fix_warning, r=SimonSapin

Fix build error when compiling libcore for 16bit targets

Fixes #49617

cc @SimonSapin
This commit is contained in:
kennytm 2018-04-04 11:07:27 +02:00 committed by GitHub
commit ce5db0f887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {