Skip to content

rls no longer builds after rust-lang/rust#98975 #99234

Closed

Description

@rust-highfive

Hello, this is your friendly neighborhood mergebot.
After merging PR #98975, I observed that the tool rls no longer builds.
A follow-up PR to the repository https://github.com/rust-lang/rls is needed to fix the fallout.

cc @jyn514, do you think you would have time to do the follow-up work?
If so, that would be great!

Activity

  1. jyn514 commented on Jul 14, 2022

    @jyn514
    Member

    Yes, I think I'll have time to fix this today.

  2. jyn514 commented on Jul 14, 2022

    @jyn514
    Member

    I think there are other changes that need to happen first. I tried to compile with tonight's nightly and got lots of errors from rustfmt:

    error[E0532]: expected unit struct, unit variant or constant, found tuple variant `ast::Extern::Implicit`
       --> /home/jnelson/.local/lib/cargo/git/checkouts/rustfmt-c4b65366788d3254/5fa2727/src/utils.rs:141:9
        |
    141 |         ast::Extern::Implicit => "C".to_owned(),
        |         ^^^^^^^^^^^^^^^^^^^^^
    

    @Xanewok do you know what could be going wrong? do I need to update rustfmt or something like that?

  3. Xanewok commented on Jul 14, 2022

    @Xanewok
    Contributor

    I pushed the latest update at rust-lang/rls@ac4648b. @jyn514 is the failure above from the x.py test build here or in the RLS repo?

    Rustfmt should be vendored here and should work as expected IIUC.

  4. jyn514 commented on Jul 14, 2022

    @jyn514
    Member

    @Xanewok that's in the RLS repo.

  5. added a commit that references this issue on Jul 15, 2022
    8e3dd62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions