diff options
author | John Hodge <tpg@mutabah.net> | 2016-12-31 14:07:45 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-12-31 14:07:45 +0800 |
commit | 5deed177a5a6fcd7bad86c8dd4f5866f7b578de3 (patch) | |
tree | 5e5ed81e55a0c6a89ab51ff5127adb0ae5607357 /src/trans/codegen_c.cpp | |
parent | 7ef1d63e51f4fa14def0a1fabe7a988e5d50ec82 (diff) | |
download | mrust-5deed177a5a6fcd7bad86c8dd4f5866f7b578de3.tar.gz |
MIR - Fix a bit of invalid MIR
Diffstat (limited to 'src/trans/codegen_c.cpp')
-rw-r--r-- | src/trans/codegen_c.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp index 3f6c69be..e29f2a40 100644 --- a/src/trans/codegen_c.cpp +++ b/src/trans/codegen_c.cpp @@ -1453,17 +1453,17 @@ namespace { TU_MATCHA( (path.m_data), (pe), (Generic, if( pe.m_params.m_types.size() > 0 ) - MIR_TODO(*m_mir_res, "Paths with generics " << path); + MIR_TODO(*m_mir_res, "get_literal_for_const - Paths with generics " << path); return m_crate.get_constant_by_path(Span(), pe.m_path).m_value_res; ), (UfcsUnknown, - MIR_BUG(*m_mir_res, "UfcsUnknown " << path); + MIR_BUG(*m_mir_res, "get_literal_for_const - UfcsUnknown " << path); ), (UfcsKnown, - MIR_TODO(*m_mir_res, "UfcsKnown " << path); + MIR_TODO(*m_mir_res, "get_literal_for_const - UfcsKnown " << path); ), (UfcsInherent, - MIR_TODO(*m_mir_res, "UfcsInherent " << path); + MIR_TODO(*m_mir_res, "get_literal_for_const - UfcsInherent " << path); ) ) throw ""; |