build: add deny(unreachable_pub)
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
This commit is contained in:
parent
fc3d52fe48
commit
a990418704
4 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#![deny(unreachable_pub)]
|
||||||
|
|
||||||
use darling::FromMeta;
|
use darling::FromMeta;
|
||||||
use proc_macro::TokenStream;
|
use proc_macro::TokenStream;
|
||||||
use proc_macro2::Span;
|
use proc_macro2::Span;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#![deny(unreachable_pub)]
|
||||||
|
|
||||||
use std::io::{self, Write};
|
use std::io::{self, Write};
|
||||||
|
|
||||||
pub fn readline(prompt: &str) -> Result<String, io::Error> {
|
pub fn readline(prompt: &str) -> Result<String, io::Error> {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#![deny(unreachable_pub)]
|
||||||
|
|
||||||
//! Parser for the oyster shell, the grammar is outlined below, `extras` are allowed everywhere,
|
//! Parser for the oyster shell, the grammar is outlined below, `extras` are allowed everywhere,
|
||||||
//! *except* inside `word`.
|
//! *except* inside `word`.
|
||||||
//! `_` means that the rule does not produce an explicit node.
|
//! `_` means that the rule does not produce an explicit node.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#![deny(unreachable_pub)]
|
||||||
|
|
||||||
//! The runtime for executing oyster programs.
|
//! The runtime for executing oyster programs.
|
||||||
//! Panics when an invalid ast gets passed.
|
//! Panics when an invalid ast gets passed.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue