From 7aeb9ff75da3acfb22b33f24621e3f734d080381 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 30 May 2018 21:43:58 +0200 Subject: [PATCH] I really liked the idea of enum approach but very much fed up with fighting the borrow checker #52 --- src/lib.rs | 2 ++ src/mango/lexing/code_lexer.rs | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 163b6c11..a7b08154 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,5 @@ +#![feature(nll)] + extern crate core; #[macro_use] extern crate lazy_static; diff --git a/src/mango/lexing/code_lexer.rs b/src/mango/lexing/code_lexer.rs index 9e3505eb..c4351f23 100644 --- a/src/mango/lexing/code_lexer.rs +++ b/src/mango/lexing/code_lexer.rs @@ -1,5 +1,3 @@ -#![feature(nll)] - use mango::io::typ::Reader; use mango::io::typ::ReaderResult::*; use mango::lexing::string_lexer::StringLexer;