From 1496badf96c299abec04c7b5c19710a584f9cfd6 Mon Sep 17 00:00:00 2001 From: Chance Date: Mon, 27 Jan 2025 12:19:36 -0500 Subject: [PATCH] fixes no_std --- src/diagnostic.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/diagnostic.rs b/src/diagnostic.rs index 7105d5c..877bc65 100644 --- a/src/diagnostic.rs +++ b/src/diagnostic.rs @@ -1,5 +1,6 @@ //! Error reporting data structures and miette integration. +use alloc::{boxed::Box, string::String}; use core::{fmt, ops::Deref}; /// Implemented by errors which can be converted into a [`Report`].