summary refs log tree commit diff
path: root/src/test/ui/proc-macro/issue-59191-replace-root-with-fn.stderr
blob: 126c52db548f7db96dad562bd76a6b6bd8c964d9 (plain)
1
2
3
4
5
6
7
8
9
10
error: expected crate top-level item to be a module after macro expansion, found a function
  --> $DIR/issue-59191-replace-root-with-fn.rs:6:1
   |
LL | #![issue_59191::no_main]
   | ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the attribute macro `issue_59191::no_main` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error