Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

syntex generates bad code with top level struct doc comments #31

Closed
erickt opened this issue Feb 17, 2016 · 0 comments
Closed

syntex generates bad code with top level struct doc comments #31

erickt opened this issue Feb 17, 2016 · 0 comments
Labels

Comments

@erickt
Copy link

erickt commented Feb 17, 2016

This tracks the upstream bug rust-lang/rust#31722, where

/// blarg
struct Foo {
    x: usize,
}

fn main() {}

Is expanded into:

/// blargstruct Foo {
             x: usize,
         }

fn main() { }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants