]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/issue-59191-replace-root-with-fn.stderr
Rollup merge of #86478 - ehuss:future-incompat-test, r=oli-obk
[rust.git] / src / test / ui / proc-macro / issue-59191-replace-root-with-fn.stderr
1 error: expected crate top-level item to be a module after macro expansion, found a function
2   --> $DIR/issue-59191-replace-root-with-fn.rs:6:1
3    |
4 LL | #![issue_59191::no_main]
5    | ^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: this error originates in the attribute macro `issue_59191::no_main` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error: aborting due to previous error
10