about summary refs log tree commit diff
path: root/compiler/rustc_error_codes/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-07-13 13:53:56 +0200
committerRalf Jung <post@ralfj.de>2024-08-18 19:46:53 +0200
commit79503dd742253cdca54f10aec9052ff477ccaf38 (patch)
treed2ca6c8e15488c515dcc5fed482e33811f2dbdbe /compiler/rustc_error_codes/src
parentf04f6ca36d2439375d20a98be013384afbab0782 (diff)
downloadrust-79503dd742253cdca54f10aec9052ff477ccaf38.tar.gz
rust-79503dd742253cdca54f10aec9052ff477ccaf38.zip
stabilize raw_ref_op
Diffstat (limited to 'compiler/rustc_error_codes/src')
-rw-r--r--compiler/rustc_error_codes/src/error_codes/E0745.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0745.md b/compiler/rustc_error_codes/src/error_codes/E0745.md
index 23ee7af30f4..32b28f3de94 100644
--- a/compiler/rustc_error_codes/src/error_codes/E0745.md
+++ b/compiler/rustc_error_codes/src/error_codes/E0745.md
@@ -3,7 +3,6 @@ The address of temporary value was taken.
 Erroneous code example:
 
 ```compile_fail,E0745
-# #![feature(raw_ref_op)]
 fn temp_address() {
     let ptr = &raw const 2; // error!
 }
@@ -15,7 +14,6 @@ In this example, `2` is destroyed right after the assignment, which means that
 To avoid this error, first bind the temporary to a named local variable:
 
 ```
-# #![feature(raw_ref_op)]
 fn temp_address() {
     let val = 2;
     let ptr = &raw const val; // ok!