Skip to content

Commit

Permalink
Merge pull request #187 from fitzgen/fix-type-inference
Browse files Browse the repository at this point in the history
Work around nightly rustc breaking type inference
  • Loading branch information
fitzgen committed Mar 8, 2017
2 parents 707a250 + dbec032 commit 72fee11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/cfi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ pub trait UnwindSection<'input, Endian>
/// # let do_stuff_with = |_| unimplemented!();
/// do_stuff_with(unwind_info);
/// # let _ = ctx;
/// # Ok(())
/// # unreachable!()
/// # }
/// ```
fn unwind_info_for_address<'bases>
Expand Down Expand Up @@ -571,7 +571,7 @@ impl BaseAddresses {
/// while let Some(entry) = try!(entries.next()) {
/// do_stuff_with(entry)
/// }
/// # Ok(())
/// # unreachable!()
/// # }
/// ```
#[derive(Clone, Debug)]
Expand Down Expand Up @@ -1263,7 +1263,7 @@ impl<'input, Endian, Section> FrameDescriptionEntry<'input, Endian, Section>
/// // programs.
/// let ctx = ctx.reset();
/// # let _ = ctx;
/// # Ok(())
/// # unreachable!()
/// # }
/// ```
///
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
//! }
//! }
//! }
//! # Ok(())
//! # unreachable!()
//! # }
//! ```
//!
Expand Down
2 changes: 1 addition & 1 deletion src/unit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2264,7 +2264,7 @@ impl<'input, 'abbrev, 'unit, Endian> EntriesCursor<'input, 'abbrev, 'unit, Endia
///
/// let mut tree = try!(unit.entries_tree(&abbrevs, None));
/// try!(process_tree(tree.iter()));
/// # Ok(())
/// # unreachable!()
/// # }
///
/// fn process_tree<E>(mut iter: gimli::EntriesTreeIter<E>) -> gimli::Result<()>
Expand Down

0 comments on commit 72fee11

Please sign in to comment.