fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
666 B20 linesraw
1error: `#[target_feature(..)]` cannot be applied to safe trait method
2  --> $DIR/trait-impl.rs:22:5
3   |
4LL |     #[target_feature(enable = "sse2")]
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be applied to safe trait method
6LL |
7LL |     fn foo(&self) {}
8   |     ------------- not an `unsafe` function
9
10error: `#[target_feature(..)]` cannot be applied to safe trait method
11  --> $DIR/trait-impl.rs:13:5
12   |
13LL |     #[target_feature(enable = "sse2")]
14   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be applied to safe trait method
15LL |
16LL |     fn foo(&self) {}
17   |     ------------- not an `unsafe` function
18
19error: aborting due to 2 previous errors
20