diff options
author | John Hodge <tpg@mutabah.net> | 2018-12-08 17:14:04 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-12-08 17:14:04 +0800 |
commit | e4f9ba0abf4646687e38d0eed15ebd19b514910b (patch) | |
tree | b8325c93c4ef5e733956882cfa951e4facaa8572 /src/expand/lang_item.cpp | |
parent | 76757341622b747074be74cc75aa5f4f51665f15 (diff) | |
download | mrust-e4f9ba0abf4646687e38d0eed15ebd19b514910b.tar.gz |
Expand - Tweaks to select between 1.19 and 1.29
Diffstat (limited to 'src/expand/lang_item.cpp')
-rw-r--r-- | src/expand/lang_item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/lang_item.cpp b/src/expand/lang_item.cpp index 0bdd37e5..f59d81c3 100644 --- a/src/expand/lang_item.cpp +++ b/src/expand/lang_item.cpp @@ -68,7 +68,7 @@ void handle_lang_item(const Span& sp, AST::Crate& crate, const AST::Path& path, else if( name == "fn_once" ) { DEBUG("Bind '"<<name<<"' to " << path); } else if( name == "eq" ) { DEBUG("Bind '"<<name<<"' to " << path); } - else if( TARGETVER_1_19 && name == "ord" ) { DEBUG("Bind '"<<name<<"' to " << path); } + else if( name == "ord" ) { DEBUG("Bind '"<<name<<"' to " << path); } // In 1.29 this is Ord, before it was PartialOrd else if( TARGETVER_1_29 && name == "partial_ord" ) { DEBUG("Bind '"<<name<<"' to " << path); } // New name for v1.29 else if( name == "unsize" ) { DEBUG("Bind '"<<name<<"' to " << path); } else if( name == "coerce_unsized" ) { DEBUG("Bind '"<<name<<"' to " << path); } |