Skip to content

Commit

Permalink
Rollup merge of rust-lang#49618 - pftbest:fix_warning, r=SimonSapin
Browse files Browse the repository at this point in the history
Fix build error when compiling libcore for 16bit targets

Fixes rust-lang#49617

cc @SimonSapin
  • Loading branch information
kennytm committed Apr 3, 2018
2 parents 480f3bf + f5c4265 commit 572fabd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/iter/range.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 572fabd

Please sign in to comment.