aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/mod.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-03-28 18:17:10 -0600
committerMelody Horn <melody@boringcactus.com>2021-03-28 18:17:10 -0600
commit98fa3e5246e83f8121922281a822a8d76f501750 (patch)
treeeeb82d9f9ca14043e19244e9603342a9430a1ab9 /src/makefile/mod.rs
parent57e4222900de52da5ffe13933fbebe91fbd7bab9 (diff)
downloadmakers-98fa3e5246e83f8121922281a822a8d76f501750.tar.gz
makers-98fa3e5246e83f8121922281a822a8d76f501750.zip
fix the unbounded type recursion (thanks @Lucretiel!)
Diffstat (limited to 'src/makefile/mod.rs')
-rw-r--r--src/makefile/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index f3b7efa..7c2663b 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -23,7 +23,7 @@ mod token;
use command_line::CommandLine;
use conditional::{ConditionalLine, ConditionalState};
use inference_rules::InferenceRule;
-use r#macro::{MacroSet, MacroSetLike, MacroSource};
+use r#macro::{MacroSet, MacroSource};
use target::Target;
use token::{tokenize, Token, TokenString};
@@ -86,7 +86,7 @@ fn inference_match<'a>(
pub(crate) struct Makefile<'a> {
inference_rules: Vec<InferenceRule>,
- macros: MacroSet,
+ macros: MacroSet<'static, 'static>,
targets: RefCell<HashMap<String, Rc<RefCell<Target>>>>,
pub(crate) first_non_special_target: Option<String>,
args: &'a Args,