about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/tests/complexity.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-05-12 13:41:57 +0200
committerGitHub <noreply@github.com>2024-05-12 13:41:57 +0200
commit5087947695d6aee6c73fb3dbc9b10c5bd9cb6162 (patch)
treebfb346adb8dc6e566ada4608426178af0808ffef /compiler/rustc_pattern_analysis/tests/complexity.rs
parent4fd98a4b1b100f5329c6efae18031791f64372d2 (diff)
parent15df3d78e47466e651510d93ee36c0852ac4374e (diff)
downloadrust-5087947695d6aee6c73fb3dbc9b10c5bd9cb6162.tar.gz
rust-5087947695d6aee6c73fb3dbc9b10c5bd9cb6162.zip
Rollup merge of #125021 - joshlf:patch-11, r=RalfJung
Update reference safety requirements

Per https://github.com/rust-lang/rust/pull/116677#issuecomment-1945495786, the language as written promises too much. This PR relaxes the language to be consistent with current semantics. If and when #117945 is implemented, we can revert to the old language.

While we're here, we also require that references be non-null.

cc ``@RalfJung``
Diffstat (limited to 'compiler/rustc_pattern_analysis/tests/complexity.rs')
0 files changed, 0 insertions, 0 deletions