Skip to content

libc docs fail to build with last nightly #961

Closed
@glandium

Description

@glandium

See this log from building PR #960 : https://travis-ci.org/rust-lang/libc/jobs/362429880
I was able to reproduce locally with current master and last nightly. Yesterday's nightly worked fine.

example from the log:

error[E0204]: the trait `Copy` may not be implemented for this type
   --> src/macros.rs:44:14
    |
44  |           impl ::dox::Copy for $i {}
    |                ^^^^^^^^^^^
    | 
   ::: src/unix/mod.rs:19:1
    |
19  | / s! {
20  | |     pub struct group {
21  | |         pub gr_name: *mut ::c_char,
    | |         -------------------------- this field does not implement `Copy`

I'm not sure whether it's a legitimate regression in rustdoc that broke the magic happening in dox.rs or if it's a legitimate problem in dox.rs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions