2020-02-01 20:07:26 -06:00
|
|
|
// Test that using a macro to replace the entire crate tree with a non-'mod' item errors out nicely.
|
|
|
|
// `issue_59191::no_main` replaces whatever's passed in with `fn main() {}`.
|
2021-10-17 11:32:34 -05:00
|
|
|
|
|
|
|
// edition:2018
|
|
|
|
// aux-crate:issue_59191=issue-59191.rs
|
|
|
|
// error-pattern: requires `sized` lang_item
|
|
|
|
|
2020-02-01 20:07:26 -06:00
|
|
|
#![feature(custom_inner_attributes)]
|
|
|
|
#![issue_59191::no_main]
|
2021-10-17 11:32:34 -05:00
|
|
|
#![issue_59191::no_main]
|