Added feature gate.
This commit is contained in:
parent
87dc824248
commit
2dc86a6450
2 changed files with 5 additions and 0 deletions
|
@ -683,6 +683,10 @@ declare_features! (
|
||||||
/// Allows the `?` operator in const contexts.
|
/// Allows the `?` operator in const contexts.
|
||||||
(active, const_try, "1.56.0", Some(74935), None),
|
(active, const_try, "1.56.0", Some(74935), None),
|
||||||
|
|
||||||
|
/// Allows upcasting trait objects via supertraits.
|
||||||
|
/// Trait upcasting is casting, e.g., `dyn Foo -> dyn Bar` where `Foo: Bar`.
|
||||||
|
(active, trait_upcasting, "1.56.0", Some(65991), None),
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
// feature-group-end: actual feature gates
|
// feature-group-end: actual feature gates
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
|
|
|
@ -1270,6 +1270,7 @@ symbols! {
|
||||||
trace_macros,
|
trace_macros,
|
||||||
track_caller,
|
track_caller,
|
||||||
trait_alias,
|
trait_alias,
|
||||||
|
trait_upcasting,
|
||||||
transmute,
|
transmute,
|
||||||
transparent,
|
transparent,
|
||||||
transparent_enums,
|
transparent_enums,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue