core: Allow legacy records in in a few modules
Because of macros, #[allow(structural_records]] in extfmt, gc, os, pipes, and run. Will need a snapshot.
This commit is contained in:
@@ -55,6 +55,9 @@
|
|||||||
#[forbid(deprecated_mode)];
|
#[forbid(deprecated_mode)];
|
||||||
#[forbid(deprecated_pattern)];
|
#[forbid(deprecated_pattern)];
|
||||||
|
|
||||||
|
// Transitional
|
||||||
|
#[allow(structural_records)]; // Macros -- needs a snapshot
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Syntax Extension: fmt
|
Syntax Extension: fmt
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ with destructors.
|
|||||||
// NB: transitionary, de-mode-ing.
|
// NB: transitionary, de-mode-ing.
|
||||||
#[forbid(deprecated_mode)];
|
#[forbid(deprecated_mode)];
|
||||||
#[forbid(deprecated_pattern)];
|
#[forbid(deprecated_pattern)];
|
||||||
|
// Transitional
|
||||||
|
#[allow(structural_records)];
|
||||||
|
|
||||||
use cast;
|
use cast;
|
||||||
use io;
|
use io;
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
// NB: transitionary, de-mode-ing.
|
// NB: transitionary, de-mode-ing.
|
||||||
#[forbid(deprecated_mode)];
|
#[forbid(deprecated_mode)];
|
||||||
#[forbid(deprecated_pattern)];
|
#[forbid(deprecated_pattern)];
|
||||||
|
#[allow(structural_records)];
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Higher-level interfaces to libc::* functions and operating system services.
|
* Higher-level interfaces to libc::* functions and operating system services.
|
||||||
|
|||||||
@@ -87,6 +87,9 @@ bounded and unbounded protocols allows for less code duplication.
|
|||||||
// re-forbid after snapshot
|
// re-forbid after snapshot
|
||||||
#[forbid(deprecated_pattern)];
|
#[forbid(deprecated_pattern)];
|
||||||
|
|
||||||
|
// Transitional -- needs snapshot
|
||||||
|
#[allow(structural_records)];
|
||||||
|
|
||||||
use cmp::Eq;
|
use cmp::Eq;
|
||||||
use cast::{forget, reinterpret_cast, transmute};
|
use cast::{forget, reinterpret_cast, transmute};
|
||||||
use either::{Either, Left, Right};
|
use either::{Either, Left, Right};
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
// NB: transitionary, de-mode-ing.
|
// NB: transitionary, de-mode-ing.
|
||||||
#[forbid(deprecated_mode)];
|
#[forbid(deprecated_mode)];
|
||||||
#[forbid(deprecated_pattern)];
|
#[forbid(deprecated_pattern)];
|
||||||
|
#[allow(structural_records)];
|
||||||
|
|
||||||
//! Process spawning
|
//! Process spawning
|
||||||
use io;
|
use io;
|
||||||
|
|||||||
Reference in New Issue
Block a user