remove feature gates

This commit is contained in:
Niko Matsakis 2018-08-27 20:14:59 -04:00 committed by Markus Westerlind
parent 8a79a3683f
commit c4262b2fa2
2 changed files with 2 additions and 5 deletions

View File

@ -6,9 +6,6 @@
// too darn annoying to try and make them do so.
#![cfg_attr(test, allow(dead_code))]
#![feature(in_band_lifetimes)]
#![feature(infer_struct_outlives)]
extern crate ascii_canvas;
extern crate atty;
extern crate bit_set;

View File

@ -40,7 +40,7 @@ pub struct RustWrite<W: Write> {
const TAB: usize = 4;
impl<W: Write> RustWrite<W> {
impl<'me, W: Write> RustWrite<W> {
pub fn new(w: W) -> RustWrite<W> {
RustWrite {
write: w,
@ -265,7 +265,7 @@ impl ParameterDisplay for String {
}
}
impl ParameterDisplay for &repr::Parameter {
impl<'me> ParameterDisplay for &'me repr::Parameter {
fn to_parameter_string(self) -> String {
format!("{}: {}", self.name, self.ty)
}