Skip to content

Incorrect whitespace in pretty-printer #12591

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

Closed
lnicola opened this issue Jun 20, 2022 · 0 comments · Fixed by #12650
Closed

Incorrect whitespace in pretty-printer #12591

lnicola opened this issue Jun 20, 2022 · 0 comments · Fixed by #12650
Labels
C-bug Category: bug

Comments

@lnicola
Copy link
Member

lnicola commented Jun 20, 2022

        macro_rules!__static_cond { // mising space
      (posts posts) = >{
        compile_error!(concat!("Column `",stringify!(id),"` cannot be named the same as its table.\n \
                            You may use `#[sql_name = \"",stringify!(id),"\"]` to reference the table's `",stringify!(id),"` column. \n \
                            See the documentation of the `table!` macro for details`\n"));

        };
      (posts id) = >{ // extra space
        pub use super::columns::{
          id
        };

        }

Spotted in #12589.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant