Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-inline modules are not stable #1

Open
TheButlah opened this issue Sep 13, 2022 · 0 comments · May be fixed by #2
Open

Non-inline modules are not stable #1

TheButlah opened this issue Sep 13, 2022 · 0 comments · May be fixed by #2

Comments

@TheButlah
Copy link

I tried to use this as follows:

use dynpath::dynpath;
#[dynpath("OUT_DIR")]
mod generated;

But I got:

error[E0658]: non-inline modules in proc macro input are unstable
  --> client/serialize/rust/src/lib.rs:20:1
   |
20 | mod generated;
   | ^^^^^^^^^^^^^^
   |
   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant