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 doc(hidden) attr from items in trait impls #1165

Merged

Conversation

jturner314
Copy link
Member

These attributes produce warnings like the following on nightly:

warning: `#[doc(hidden)]` is ignored on trait impl items
   --> src/indexes.rs:212:5
    |
212 |     #[doc(hidden)]
    |     ^^^^^^^^^^^^^^ help: remove this attribute
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

I verified that these attributes have no effect on stable (1.60.0) or nightly (2022-05-16), so they can be safely removed.

These attributes produce warnings like the following on nightly:

```
warning: `#[doc(hidden)]` is ignored on trait impl items
   --> src/indexes.rs:212:5
    |
212 |     #[doc(hidden)]
    |     ^^^^^^^^^^^^^^ help: remove this attribute
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
```

I verified that these attributes have no effect on stable (1.60.0) or
nightly (2022-05-16), so they can be safely removed.
@jturner314 jturner314 force-pushed the rm-doc-hidden-on-trait-impls branch from 0d3da0a to bb7cba6 Compare July 30, 2022 18:00
@jturner314 jturner314 merged commit 7ff66a8 into rust-ndarray:master Jul 30, 2022
@jturner314 jturner314 deleted the rm-doc-hidden-on-trait-impls branch July 30, 2022 18:08
jturner314 added a commit to jturner314/ndarray that referenced this pull request Jul 30, 2022
These attributes produce warnings like the following on nightly:

```
warning: `#[doc(hidden)]` is ignored on trait impl items
   --> src/indexes.rs:212:5
    |
212 |     #[doc(hidden)]
    |     ^^^^^^^^^^^^^^ help: remove this attribute
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
```

I verified that these attributes have no effect on stable (1.60.0) or
nightly (2022-05-16), so they can be safely removed.
jturner314 added a commit to jturner314/ndarray that referenced this pull request Jul 30, 2022
These attributes produce warnings like the following on nightly:

```
warning: `#[doc(hidden)]` is ignored on trait impl items
   --> src/indexes.rs:212:5
    |
212 |     #[doc(hidden)]
    |     ^^^^^^^^^^^^^^ help: remove this attribute
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
```

I verified that these attributes have no effect on stable (1.60.0) or
nightly (2022-05-16), so they can be safely removed.
jturner314 added a commit that referenced this pull request Jul 30, 2022
These attributes produce warnings like the following on nightly:

```
warning: `#[doc(hidden)]` is ignored on trait impl items
   --> src/indexes.rs:212:5
    |
212 |     #[doc(hidden)]
    |     ^^^^^^^^^^^^^^ help: remove this attribute
    |
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
```

I verified that these attributes have no effect on stable (1.60.0) or
nightly (2022-05-16), so they can be safely removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant