guppy 0.15.1

Track and query Cargo dependency graphs.
Documentation
// Copyright (c) The cargo-guppy Contributors
// SPDX-License-Identifier: MIT OR Apache-2.0

//! Test and helper macros.

/// Assert that a struct with a single lifetime parameter is covariant.
macro_rules! assert_covariant {
    ($i:ident) => {
        const _: () = {
            fn assert_covariant<'a, 'b: 'a>(x: $i<'b>) -> $i<'a> {
                x
            }
        };
    };
}