diff options
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-profiler-runtime.stderr')
-rw-r--r-- | tests/ui/feature-gates/feature-gate-profiler-runtime.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-profiler-runtime.stderr b/tests/ui/feature-gates/feature-gate-profiler-runtime.stderr new file mode 100644 index 000000000..18e6503c5 --- /dev/null +++ b/tests/ui/feature-gates/feature-gate-profiler-runtime.stderr @@ -0,0 +1,11 @@ +error[E0658]: the `#[profiler_runtime]` attribute is used to identify the `profiler_builtins` crate which contains the profiler runtime and will never be stable + --> $DIR/feature-gate-profiler-runtime.rs:1:1 + | +LL | #![profiler_runtime] + | ^^^^^^^^^^^^^^^^^^^^ + | + = help: add `#![feature(profiler_runtime)]` to the crate attributes to enable + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0658`. |