mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-28 06:01:02 +00:00
remove feature gates
This commit is contained in:
parent
8a79a3683f
commit
c4262b2fa2
@ -6,9 +6,6 @@
|
|||||||
// too darn annoying to try and make them do so.
|
// too darn annoying to try and make them do so.
|
||||||
#![cfg_attr(test, allow(dead_code))]
|
#![cfg_attr(test, allow(dead_code))]
|
||||||
|
|
||||||
#![feature(in_band_lifetimes)]
|
|
||||||
#![feature(infer_struct_outlives)]
|
|
||||||
|
|
||||||
extern crate ascii_canvas;
|
extern crate ascii_canvas;
|
||||||
extern crate atty;
|
extern crate atty;
|
||||||
extern crate bit_set;
|
extern crate bit_set;
|
||||||
|
@ -40,7 +40,7 @@ pub struct RustWrite<W: Write> {
|
|||||||
|
|
||||||
const TAB: usize = 4;
|
const TAB: usize = 4;
|
||||||
|
|
||||||
impl<W: Write> RustWrite<W> {
|
impl<'me, W: Write> RustWrite<W> {
|
||||||
pub fn new(w: W) -> RustWrite<W> {
|
pub fn new(w: W) -> RustWrite<W> {
|
||||||
RustWrite {
|
RustWrite {
|
||||||
write: w,
|
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 {
|
fn to_parameter_string(self) -> String {
|
||||||
format!("{}: {}", self.name, self.ty)
|
format!("{}: {}", self.name, self.ty)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user