Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 60f106c

Browse files
ices/82865.rs: fixed with errors (#704)
=== stdout === === stderr === error[E0433]: failed to resolve: use of undeclared crate or module `x` --> /home/runner/work/glacier/glacier/ices/82865.rs:1:5 | 1 | use x::y::z; | ^ use of undeclared crate or module `x` error[E0425]: cannot find value `clone` in this scope --> /home/runner/work/glacier/glacier/ices/82865.rs:6:24 | 6 | register_derive! { clone } | ^^^^^ not found in this scope error[E0658]: `macro` is experimental --> /home/runner/work/glacier/glacier/ices/82865.rs:3:5 | 3 | / macro register_derive ($f:ident) { 4 | | Box::z($f) 5 | | } | |_____^ | = note: see issue #39412 <rust-lang/rust#39412> for more information = help: add `#![feature(decl_macro)]` to the crate attributes to enable error[E0601]: `main` function not found in crate `82865` --> /home/runner/work/glacier/glacier/ices/82865.rs:1:1 | 1 | / use x::y::z; 2 | | fn register_builtin_macros() { 3 | | macro register_derive ($f:ident) { 4 | | Box::z($f) 5 | | } 6 | | register_derive! { clone } 7 | | } | |_^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/82865.rs` error[E0599]: no function or associated item named `z` found for struct `Box<_, _>` in the current scope --> /home/runner/work/glacier/glacier/ices/82865.rs:4:14 | 4 | Box::z($f) | ^ function or associated item not found in `Box<_, _>` 5 | } 6 | register_derive! { clone } | -------------------------- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 5 previous errors Some errors have detailed explanations: E0425, E0433, E0599, E0601, E0658. For more information about an error, try `rustc --explain E0425`. ============== Co-authored-by: rustbot <[email protected]>
1 parent 755b56a commit 60f106c

File tree

1 file changed

+0
-0
lines changed

1 file changed

+0
-0
lines changed
File renamed without changes.

0 commit comments

Comments
 (0)