Skip to content

Conversation

JelteF
Copy link
Owner

@JelteF JelteF commented Aug 6, 2024

We can use rustversion for this. For some of the tests its still
needed because of this error:

error[E0658]: non-inline modules in proc macro input are unstable
  --> tests/error/mod.rs:53:1
   |
53 | mod nightly;
   | ^^^^^^^^^^^^
   |
   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information

We can use `rustversion` for this. For some of the tests its still
needed because of this error:

```
error[E0658]: non-inline modules in proc macro input are unstable
  --> tests/error/mod.rs:53:1
   |
53 | mod nightly;
   | ^^^^^^^^^^^^
   |
   = note: see issue #54727 <rust-lang/rust#54727> for more information
```
@JelteF
Copy link
Owner Author

JelteF commented Aug 6, 2024

Hmm, okay apparently I cannot use rustversion in doc tests (which is where we need it). So I'll leave this open to look again later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant