summary refs log tree commit diff
path: root/src/test/ui/panic-runtime/runtime-depend-on-needs-runtime.stderr
blob: 0e68c9b806d1d67bd76b2da69a2f51c417851292 (plain)
1
2
3
4
5
6
7
8
9
error: the crate `depends` cannot depend on a crate that needs a panic runtime, but it depends on `needs_panic_runtime`

error[E0601]: `main` function not found in crate `runtime_depend_on_needs_runtime`
   |
   = note: consider adding a `main` function to `$DIR/runtime-depend-on-needs-runtime.rs`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0601`.