]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-45296.stderr
Auto merge of #45359 - arielb1:escaping-borrow, r=eddyb
[rust.git] / src / test / ui / issue-45296.stderr
1 error: an inner attribute is not permitted in this context
2   --> $DIR/issue-45296.rs:14:7
3    |
4 14 |     #![allow(unused_variables)]
5    |       ^
6    |
7    = note: inner attributes and doc comments, like `#![no_std]` or `//! My crate`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes and doc comments, like `#[test]` and
8                                               `/// My function`, annotate the item following them.
9
10 error: aborting due to previous error
11