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

Remove nightly cfg from impl crate #394

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(ci)", "cfg(nightly)"] }
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(ci)"] }

[features]
default = []
Expand Down
15 changes: 0 additions & 15 deletions impl/build.rs

This file was deleted.

6 changes: 3 additions & 3 deletions impl/doc/error.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ Backtraces don't work though, because the `Backtrace` type is only available in
## Example usage

```rust
# #![cfg_attr(nightly, feature(error_generic_member_access))]
# #![rustversion::attr(nightly, feature(error_generic_member_access))]
// Nightly requires enabling this feature:
// #![feature(error_generic_member_access)]
# #[cfg(not(nightly))] fn main() {}
# #[cfg(nightly)] fn main() {
# #[rustversion::not(nightly)] fn main() {}
# #[rustversion::nightly] fn main() {
# use core::error::{request_ref, request_value, Error as __};
# use std::backtrace::Backtrace;
#
Expand Down
1 change: 0 additions & 1 deletion tests/generics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ struct WrappedDouble<T: Clone, U: Clone>(T, U);
#[from(forward)]
struct WrappedDouble2<T: Clone, U: Clone>(T, U);

#[cfg(nightly)]
#[derive(
From,
FromStr,
Expand Down
Loading