mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
chore: add copyright_checker
tool and add the missing copyright (#17285)
This commit is contained in:
parent
5707a958ac
commit
a00e432297
69 changed files with 276 additions and 49 deletions
|
@ -1,10 +1,13 @@
|
|||
/// Optimizer for #[op]
|
||||
use crate::Op;
|
||||
use pmutil::{q, Quote};
|
||||
use proc_macro2::TokenStream;
|
||||
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
||||
//! Optimizer for #[op]
|
||||
|
||||
use std::collections::BTreeMap;
|
||||
use std::fmt::Debug;
|
||||
use std::fmt::Formatter;
|
||||
|
||||
use pmutil::{q, Quote};
|
||||
use proc_macro2::TokenStream;
|
||||
|
||||
use syn::{
|
||||
parse_quote, punctuated::Punctuated, token::Colon2,
|
||||
AngleBracketedGenericArguments, FnArg, GenericArgument, PatType, Path,
|
||||
|
@ -12,6 +15,8 @@ use syn::{
|
|||
TypeReference, TypeSlice, TypeTuple,
|
||||
};
|
||||
|
||||
use crate::Op;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(crate) enum BailoutReason {
|
||||
// Recoverable errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue