summary refs log tree commit diff stats
path: root/tests/stdlib/tstrformatlineinfo.nim
blob: 3a7bf0d330fd2d6a5a8819b46ec9de5277a057fd (plain) (blame)
1
2
3
4
5
6
7
8
# issue #21759

{.hint[ConvFromXToItselfNotNeeded]: on.}

import std/strformat

echo fmt"{string ""abc""}" #[tt.Hint
        ^ conversion from string to itself is pointless]#