mirror of
https://github.com/enso-org/enso.git
synced 2024-11-23 08:08:34 +03:00
Fixing build.
This commit is contained in:
parent
b9172b46a1
commit
55dce7af65
@ -6,7 +6,7 @@
|
||||
// separate `ast_ops` crate that depends on both. Now it is better to tests here than none but
|
||||
// a decision should be made as to which way we want to go.
|
||||
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
//! Tests for cases where parser currently fails. They are ignored, should be removed and placed
|
||||
//! elsewhere, as the parser gets fixed.
|
||||
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// === Features ===
|
||||
#![feature(generators, generator_trait)]
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
//! sbt "runner/run --server --root-id 6f7d58dd-8ee8-44cf-9ab7-9f0454033641 --path $HOME/ensotmp --rpc-port 30616"
|
||||
//! ```
|
||||
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
//! Project Manager tests.
|
||||
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -393,8 +393,9 @@ fn discover_paths_internal(
|
||||
let md = fs::metadata(path).unwrap();
|
||||
if md.is_dir() && path.file_name() != Some(OsStr::new("target")) {
|
||||
let dir_name = path.file_name();
|
||||
let is_main_dir =
|
||||
dir_name == Some(OsStr::new("bin")) || dir_name == Some(OsStr::new("tests"));
|
||||
// FIXME: This should cover 'tests' folder also, but only the files that contain actual
|
||||
// tests. Otherwise, not all attributes are allowed there.
|
||||
let is_main_dir = dir_name == Some(OsStr::new("bin")); // || dir_name == Some(OsStr::new("tests"));
|
||||
let sub_paths = fs::read_dir(path).unwrap();
|
||||
for sub_path in sub_paths {
|
||||
discover_paths_internal(vec, &sub_path.unwrap().path(), is_main_dir)
|
||||
|
@ -1,4 +1,4 @@
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -3,12 +3,10 @@
|
||||
// === Features ===
|
||||
#![feature(test)]
|
||||
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![deny(unconditional_recursion)]
|
||||
#![warn(unsafe_code)]
|
||||
#![warn(missing_copy_implementations)]
|
||||
#![warn(missing_debug_implementations)]
|
||||
#![warn(missing_docs)]
|
||||
|
@ -3,11 +3,10 @@
|
||||
//! This file includes quite a bit of duplicated code, but this is known and intentional as it
|
||||
//! allows for increased clarity in the testing.
|
||||
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![allow(missing_docs)]
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
#![allow(clippy::blacklisted_name)] // `foo` is fine here.
|
||||
#![allow(clippy::new_without_default)] // No need for boilerplate in throwaway test code.
|
||||
|
||||
|
@ -2,11 +2,10 @@
|
||||
|
||||
// === Features ===
|
||||
#![feature(test)]
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![deny(unconditional_recursion)]
|
||||
#![warn(unsafe_code)]
|
||||
#![warn(missing_copy_implementations)]
|
||||
#![warn(missing_debug_implementations)]
|
||||
#![warn(missing_docs)]
|
||||
|
@ -2,11 +2,10 @@
|
||||
|
||||
// === Features ===
|
||||
#![feature(test)]
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![deny(unconditional_recursion)]
|
||||
#![warn(unsafe_code)]
|
||||
#![warn(missing_copy_implementations)]
|
||||
#![warn(missing_debug_implementations)]
|
||||
#![warn(missing_docs)]
|
||||
|
@ -2,11 +2,10 @@
|
||||
|
||||
// === Features ===
|
||||
#![feature(test)]
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![deny(unconditional_recursion)]
|
||||
#![warn(unsafe_code)]
|
||||
#![warn(missing_copy_implementations)]
|
||||
#![warn(missing_debug_implementations)]
|
||||
#![warn(missing_docs)]
|
||||
|
@ -2,11 +2,10 @@
|
||||
|
||||
// === Features ===
|
||||
#![feature(test)]
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![deny(unconditional_recursion)]
|
||||
#![warn(unsafe_code)]
|
||||
#![warn(missing_copy_implementations)]
|
||||
#![warn(missing_debug_implementations)]
|
||||
#![warn(missing_docs)]
|
||||
|
@ -2,11 +2,10 @@
|
||||
|
||||
// === Features ===
|
||||
#![feature(test)]
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![deny(unconditional_recursion)]
|
||||
#![warn(unsafe_code)]
|
||||
#![warn(missing_copy_implementations)]
|
||||
#![warn(missing_debug_implementations)]
|
||||
#![warn(missing_docs)]
|
||||
|
@ -2,11 +2,10 @@
|
||||
|
||||
// === Features ===
|
||||
#![feature(test)]
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![deny(unconditional_recursion)]
|
||||
#![warn(unsafe_code)]
|
||||
#![warn(missing_copy_implementations)]
|
||||
#![warn(missing_debug_implementations)]
|
||||
#![warn(missing_docs)]
|
||||
|
@ -2,11 +2,10 @@
|
||||
|
||||
// === Features ===
|
||||
#![feature(test)]
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![deny(unconditional_recursion)]
|
||||
#![warn(unsafe_code)]
|
||||
#![warn(missing_copy_implementations)]
|
||||
#![warn(missing_debug_implementations)]
|
||||
#![warn(missing_docs)]
|
||||
|
@ -1,10 +1,8 @@
|
||||
//! Utilities for testing the Enso lexer.
|
||||
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![allow(dead_code)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
use enso_flexer::*;
|
||||
use lexer_definition::library::*;
|
||||
|
@ -1,7 +1,7 @@
|
||||
// === Features ===
|
||||
#![feature(generators)]
|
||||
#![feature(type_alias_impl_trait)]
|
||||
// === Standard Linter Configuration ===
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
|
@ -1,10 +1,9 @@
|
||||
// This module contains dead code. Its purpose is making sure that it compiles
|
||||
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
// === Non-Standard Linter Configuration ===
|
||||
#![allow(dead_code)]
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
||||
use enso_prelude::*;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user