summaryrefslogtreecommitdiffstats
path: root/vendor/pest_derive/tests/reporting.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/pest_derive/tests/reporting.rs')
-rw-r--r--vendor/pest_derive/tests/reporting.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/pest_derive/tests/reporting.rs b/vendor/pest_derive/tests/reporting.rs
index aa0a974e0..8a41bef72 100644
--- a/vendor/pest_derive/tests/reporting.rs
+++ b/vendor/pest_derive/tests/reporting.rs
@@ -7,6 +7,10 @@
// option. All files in the project carrying such notice may not be copied,
// modified, or distributed except according to those terms.
+#![cfg_attr(not(feature = "std"), no_std)]
+extern crate alloc;
+use alloc::vec;
+
#[macro_use]
extern crate pest;
#[macro_use]