about summary refs log tree commit diff
path: root/tests/codegen/integer-overflow.rs
diff options
context:
space:
mode:
authorStypox <stypox@pm.me>2025-06-11 10:23:43 +0200
committerStypox <stypox@pm.me>2025-06-11 10:42:50 +0200
commitfc96ca8bbad7fb4c7546fb98807e826723fc6c1d (patch)
tree5bef18d13625bb5395ff4d32d04385d023886f60 /tests/codegen/integer-overflow.rs
parent0d74252537b6fd3ae6287486dbeec437cf021efa (diff)
downloadrust-fc96ca8bbad7fb4c7546fb98807e826723fc6c1d.tar.gz
rust-fc96ca8bbad7fb4c7546fb98807e826723fc6c1d.zip
Use closure to allow passing custom tracing layers
The previous method, where a layer would be passed directly,
required to pass a "no-op" layer when no custom layer was needed.
This should have in theory worked, however having a no-op layer
seems to change the way the tracing lib applies filters internally,
leading to some debug!() being printed despite them being out of
the minimum level for the filters. Note however that this behavior
was very inconsistent, and e.g. some debug!() would get printed
and some others wouldn't, for no apparent reason.
Diffstat (limited to 'tests/codegen/integer-overflow.rs')
0 files changed, 0 insertions, 0 deletions