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

fix file include #2568

Closed
wants to merge 2 commits into from
Closed

fix file include #2568

wants to merge 2 commits into from

Commits on Jul 3, 2021

  1. fix file include

    compiler output
    
      warning: unknown `doc` attribute `include`
       --> /home/tshepang/clap/src/lib.rs:9:8
        |
      9 | #![doc(include = "../README.md")]
        | -------^^^^^^^^^^^^^^^^^^^^^^^^-- help: use `doc = include_str!` instead: `#![doc = include_str!("../README.md")]`
        |
        = note: `#[warn(invalid_doc_attributes)]` on by default
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: for more information, see issue #82730 <rust-lang/rust#82730>
    tshepang committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    c01ad66 View commit details
    Browse the repository at this point in the history
  2. use notation that works on current stable (v1.53)

    Notation on parent commit will probably be available only on Rust v1.55
    tshepang committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    332c4e5 View commit details
    Browse the repository at this point in the history