]> git.lizzy.rs Git - rust.git/commit
review comments: modify note wording and change `println`
authorEsteban Küber <esteban@kuber.com.ar>
Sun, 15 Jul 2018 18:52:11 +0000 (11:52 -0700)
committerEsteban Küber <esteban@commure.com>
Fri, 20 Jul 2018 06:18:07 +0000 (23:18 -0700)
commitfbce952193d38328c39262cf2fb7f7bfbe088a70
treed4dbd97694e5310b68149c2d653ece3664fa9edf
parentf53c145ef18db6543e8e5420e172e04b6054db2e
review comments: modify note wording and change `println`

- Don't print the newline on its own to avoid the possibility of
  printing it out of order due to `stdout` locking.
- Modify wording of `concat!()` with non-literals to not mislead into
  believing that only `&str` literals are accepted.
- Add test for `concat!()` with non-literals.
src/libstd/macros.rs
src/libsyntax_ext/concat.rs
src/test/ui/macros/bad-concat.rs [new file with mode: 0644]
src/test/ui/macros/bad-concat.stderr [new file with mode: 0644]
src/test/ui/macros/trace-macro.stderr