Debian Codegraph @

tests/integration/either.rs

raw symbols SCIP
1 use craterust-analyzer cargo schemars 1.2.2 crate/::preluderust-analyzer cargo schemars 1.2.2 prelude/::*;
2 use either1rust-analyzer cargo either 1.17.0 crate/::Eitherrust-analyzer cargo either 1.17.0 Either#;
3
4 #[testrust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/test:]
5 fn eitherrust-analyzer cargo schemars 1.2.2 either/either().() {
6 testrust-analyzer cargo schemars 1.2.2 test!!(Eitherrust-analyzer cargo either 1.17.0 Either#<i32, Eitherrust-analyzer cargo either 1.17.0 Either#<bool, ()>>)
7 .assert_snapshotrust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_snapshot().()
8 .assert_allows_ser_roundtriprust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_allows_ser_roundtrip().([
9 Eitherrust-analyzer cargo either 1.17.0 Either#::Leftrust-analyzer cargo either 1.17.0 Either#Left#(123),
10 Eitherrust-analyzer cargo either 1.17.0 Either#::Rightrust-analyzer cargo either 1.17.0 Either#Right#(Eitherrust-analyzer cargo either 1.17.0 Either#::Leftrust-analyzer cargo either 1.17.0 Either#Left#(true)),
11 Eitherrust-analyzer cargo either 1.17.0 Either#::Rightrust-analyzer cargo either 1.17.0 Either#Right#(Eitherrust-analyzer cargo either 1.17.0 Either#::Rightrust-analyzer cargo either 1.17.0 Either#Right#(())),
12 ])
13 .assert_matches_de_roundtriprust-analyzer cargo schemars 1.2.2 test_helper/impl#[`TestHelper<T>`]assert_matches_de_roundtrip().(arbitrary_valuesrust-analyzer cargo schemars 1.2.2 test_helper/arbitrary_values().());
14 }