From d2e220245d9c17a0ac8c3474984924f65ed6b835 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 7 Oct 2020 18:24:47 +0200 Subject: =?UTF-8?q?Move=20deco,=20pass=20and=20feedback=20into=20diagnosti?= =?UTF-8?q?cs=20module=20=E2=86=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/syntax/mod.rs | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/syntax') diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs index a85b06a9..8b716da4 100644 --- a/src/syntax/mod.rs +++ b/src/syntax/mod.rs @@ -10,20 +10,3 @@ pub use ast::*; pub use ident::*; pub use span::*; pub use token::*; - -/// Decorations for semantic syntax highlighting. -#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd)] -#[cfg_attr(feature = "serialize", derive(serde::Serialize))] -#[cfg_attr(feature = "serialize", serde(rename_all = "camelCase"))] -pub enum Deco { - /// Emphasized text. - Emph, - /// Strong text. - Strong, - /// A valid, successfully resolved name. - Resolved, - /// An invalid, unresolved name. - Unresolved, - /// A key in a dictionary. - DictKey, -} -- cgit v1.2.3