all: #![warn(clippy::all)]

This commit is contained in:
John 2024-02-29 21:04:45 -06:00
parent 50b473cd55
commit c665e52782
7 changed files with 8 additions and 2 deletions

View File

@ -9,6 +9,7 @@
//! - [AssignKind], [BinaryKind], and [UnaryKind] operators
//! - [Ty] and [TyKind]: Type qualifiers
//! - [Path]: Path expressions
#![warn(clippy::all)]
#![feature(decl_macro)]
use cl_structures::span::*;

View File

@ -1,5 +1,5 @@
//! Walks a Conlang AST, interpreting it as a program
//! Walks a Conlang AST, interpreting it as a program.
#![warn(clippy::all)]
#![feature(decl_macro)]
use env::Environment;

View File

@ -1,4 +1,5 @@
//! Converts a text file into tokens
#![warn(clippy::all)]
#![feature(decl_macro)]
use cl_structures::span::Loc;
use cl_token::*;

View File

@ -3,6 +3,7 @@
//! For the full grammar, see [grammar.ebnf][1]
//!
//! [1]: https://git.soft.fish/j/Conlang/src/branch/main/grammar.ebnf
#![warn(clippy::all)]
#![feature(decl_macro)]
pub use parser::Parser;

View File

@ -3,6 +3,7 @@
//! # TODO
//! - [ ] Readline-like line editing
//! - [ ] Raw mode?
#![warn(clippy::all)]
pub mod args {
use crate::cli::Mode;

View File

@ -1,6 +1,7 @@
//! # Universally useful structures
//! - [Span](struct@span::Span): Stores a start and end [Loc](struct@span::Loc)
//! - [Loc](struct@span::Loc): Stores the index in a stream
#![warn(clippy::all)]
pub mod span {
//! - [struct@Span]: Stores the start and end [struct@Loc] of a notable AST node

View File

@ -1,6 +1,7 @@
//! # Token
//!
//! Stores a component of a file as a [Type], some [Data], and a line and column number
#![warn(clippy::all)]
#![feature(decl_macro)]
pub mod token;