about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-10 12:49:19 +0200
committerGitHub <noreply@github.com>2024-10-10 12:49:19 +0200
commita2c43eb80698dc551bf9f4c0041b2cde751a7a5d (patch)
tree45fc6dbe94845507d9dabc133cf33dae920fb607 /compiler/rustc_pattern_analysis/src
parent6d41be27005603e0e39cc8e3fefd50cfbc565e0e (diff)
parent287eb03838d5ff211706c8df8f5357034219472f (diff)
downloadrust-a2c43eb80698dc551bf9f4c0041b2cde751a7a5d.tar.gz
rust-a2c43eb80698dc551bf9f4c0041b2cde751a7a5d.zip
Rollup merge of #131397 - RalfJung:const-escaping-ref-teach, r=chenyukang
fix/update teach_note from 'escaping mutable ref/ptr' const-check

The old note was quite confusing since it talked about statics, but the message is also shown for consts. So let's reword to something that is true for both of them.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions