-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 5 additions & 7 deletions
12
src/test/ui/rfc-2091-track-caller/caller-location-fnptr-rt-ctfe-equiv.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
warning: skipping const checks | ||
--> $DIR/caller-location-fnptr-rt-ctfe-equiv.rs:18:1 | ||
| | ||
LL | / const fn calling_attributed() -> L { | ||
LL | | // We need `-Z unleash-the-miri-inside-of-you` for this as we don't have `const fn` pointers. | ||
LL | | let ptr: fn() -> L = attributed; | ||
LL | | ptr() | ||
LL | | } | ||
| |_^ | ||
help: skipping check that does not even have a feature gate | ||
--> $DIR/caller-location-fnptr-rt-ctfe-equiv.rs:21:5 | ||
| | ||
LL | ptr() | ||
| ^^^^^ | ||
|
||
warning: 1 warning emitted | ||
|