diff options
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r-- | src/hir/from_ast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp index 3acb64ac..4752d000 100644 --- a/src/hir/from_ast.cpp +++ b/src/hir/from_ast.cpp @@ -367,7 +367,7 @@ return ::HIR::GenericPath(mv$(sp), mv$(params)); ) else { - throw "BUG: Encountered non-Absolute path when creating ::HIR::GenericPath"; + BUG(Span(), "Encountered non-Absolute path when creating ::HIR::GenericPath - " << path); } } ::HIR::Path LowerHIR_Path(const ::AST::Path& path) |