diff options
| author | oli <github35764891676564198441@oli-obk.de> | 2021-01-03 13:45:16 +0000 |
|---|---|---|
| committer | oli <github35764891676564198441@oli-obk.de> | 2021-01-03 13:45:16 +0000 |
| commit | a137ff17069feb67a2ef5a0f3ddbe09707c2d6cd (patch) | |
| tree | 1bf6d5ae1442a4a771ce3ad596816a5256f07d55 /src/test/ui/error-codes | |
| parent | e5330a4f52fcf9de8112f3dd0abb094640b668e3 (diff) | |
| download | rust-a137ff17069feb67a2ef5a0f3ddbe09707c2d6cd.tar.gz rust-a137ff17069feb67a2ef5a0f3ddbe09707c2d6cd.zip | |
Update now-more-precise operation with a preciser message
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0492.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0492.stderr b/src/test/ui/error-codes/E0492.stderr index 54306433b87..9aa84c2bff3 100644 --- a/src/test/ui/error-codes/E0492.stderr +++ b/src/test/ui/error-codes/E0492.stderr @@ -1,10 +1,10 @@ -error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead +error[E0492]: this borrow to an interior mutable value may end up in the final value of this constant --> $DIR/E0492.rs:4:33 | LL | const B: &'static AtomicUsize = &A; | ^^ -error[E0492]: cannot borrow a constant which may contain interior mutability, create a static instead +error[E0492]: this borrow to an interior mutable value may end up in the final value of this static --> $DIR/E0492.rs:5:34 | LL | static C: &'static AtomicUsize = &A; |
