Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion compiler/phronesis-ast/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
// SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell

#![forbid(unsafe_code)]

//! Abstract syntax tree definitions for the Phronesis policy language.
//!
//! Phronesis is a provably-terminating policy DSL for ethical/agentic reasoning.
Expand Down Expand Up @@ -31,7 +33,6 @@
/// Byte offsets are `u32` because Phronesis policy files are expected to be
/// well under 4 GiB. The `synthetic` constructor produces a zero-length span
/// for compiler-generated nodes that have no corresponding source text.
#![forbid(unsafe_code)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Span {
Expand Down
Loading