mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-09-21 02:37:47 +03:00
allow clippy::upper_case_acroynms for imported pest structs
This commit is contained in:
parent
cf603dbc73
commit
1e69d1c68e
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -2828,9 +2828,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "tinytemplate"
|
||||
version = "1.2.0"
|
||||
version = "1.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a2ada8616fad06a2d0c455adc530de4ef57605a8120cc65da9653e0e9623ca74"
|
||||
checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
||||
dependencies = [
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
@ -13,10 +13,10 @@
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||
#![allow(clippy::upper_case_acronyms)]
|
||||
|
||||
//! Abstract syntax tree (ast) representation from leo-input.pest.
|
||||
use pest::{error::Error, iterators::Pairs, Parser, Span};
|
||||
|
||||
#[derive(Parser)]
|
||||
#[grammar = "leo-input.pest"]
|
||||
pub struct LanguageParser;
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||
#![allow(clippy::upper_case_acronyms)]
|
||||
|
||||
use crate::ast::Rule;
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
#[macro_use]
|
||||
extern crate pest_derive;
|
||||
#[macro_use]
|
||||
|
Loading…
Reference in New Issue
Block a user