mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-18 22:21:15 -03:00
cleanup: remove syntactic dependency on main crate
This is done in preparation for extracting this file into its own crate. Part of #12494
This commit is contained in:
committed by
Johannes Altmanninger
parent
65bc9b9e3e
commit
c44aa32a15
@@ -1,6 +1,6 @@
|
||||
//! Flags to enable upcoming features
|
||||
|
||||
use crate::prelude::*;
|
||||
use fish_widestring::{L, WExt as _, wstr};
|
||||
#[cfg(test)]
|
||||
use std::cell::RefCell;
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
@@ -266,7 +266,7 @@ pub fn with_overridden_feature(flag: FeatureFlag, value: bool, test_fn: impl FnO
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::{FeatureFlag, Features, METADATA, feature_test, with_overridden_feature};
|
||||
use crate::prelude::*;
|
||||
use fish_widestring::L;
|
||||
|
||||
#[test]
|
||||
fn test_feature_flags() {
|
||||
|
||||
Reference in New Issue
Block a user