blob: 07490ad45e001cc7d618c36d0675ee06a1af0dab [file] [log] [blame]
//@ revisions: locally_eager locally_lazy
//@ aux-crate:lazy=lazy.rs
//@ edition: 2021
// Test that we treat lazy type aliases from external crates as lazy independently of whether the
// local crate enables `lazy_type_alias` or not.
#![cfg_attr(
locally_lazy,
feature(lazy_type_alias),
allow(incomplete_features)
)]
fn main() {
let _: lazy::Alias<String>; //~ ERROR the trait bound `String: Copy` is not satisfied
}