mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
f784fa7bd9
Done by removing all uses of `#![no_core]`, and the reverting the ones that failed. More involved ones are in a later commit.
13 lines
469 B
Rust
13 lines
469 B
Rust
// @set AlwaysNone = "$.index[*][?(@.name == 'AlwaysNone')].id"
|
|
pub enum AlwaysNone {
|
|
// @set None = "$.index[*][?(@.name == 'None')].id"
|
|
None,
|
|
}
|
|
// @is "$.index[*][?(@.name == 'AlwaysNone')].inner.enum.variants[*]" $None
|
|
|
|
// @set use_None = "$.index[*][?(@.inner.import)].id"
|
|
// @is "$.index[*][?(@.inner.import)].inner.import.id" $None
|
|
pub use AlwaysNone::None;
|
|
|
|
// @ismany "$.index[*][?(@.name == 'use_variant')].inner.module.items[*]" $AlwaysNone $use_None
|